Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-126054

QString::arg(wchar_t{}) prefers the integral overload instead of the QChar one

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7
    • None
    • 5
    • 967736b96 (dev), 9a95c4ba4 (6.8), 88e94df35 (6.7), fe5b07d20 (tqtc/lts-6.5), fafa568a6 (tqtc/lts-6.2)
    • Foundation Sprint 108, Foundation Sprint 109, Foundation Sprint 110, Foundation Sprint 111

    Description

      QString fmt = "%1";
      assert(fmt.arg(L' ') == " "); // FAIL: result is "32"
      

      This is similar to QTBUG-125588 (char16_t).

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-126054
          # Subject Branch Project Status CR V

          Activity

            People

              mmutz Marc Mutz
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes