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

QLocale::codeToScript() can't find QLocale::LastScript

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.5.10, 6.8.5, 6.9.2, 6.10.0 Beta3, 6.11.0 FF
    • 4.8.7, 5.0.2, 5.1.1, 5.2.1, 5.3.2, 5.4.2, 5.5.1, 5.6.3, 5.7.2, 5.8.0, 5.9.9, 5.10.1, 5.11.3, 5.12.12, 5.13.2, 5.14.2, 5.15.19, 6.0.4, 6.1.3, 6.2.9, 6.3.2, 6.4.3, 6.5.9, 6.6.3, 6.7.3, 6.8.4, 6.9.1, 6.10.0 Beta2
    • Core: Locales (i18n)
    • None
    • 1
    • 719685910 (dev), 96a1057b2 (6.10), aea88d410 (dev), 838d543cd (6.10), dc18d32eb (6.9), 6a5abfb08 (tqtc/lts-6.8), 32fd1dc89 (tqtc/lts-6.5), ae8064b1d (6.9), 1d236b866 (tqtc/lts-6.8), bc0acff38 (tqtc/lts-6.5)
    • Foundation Sprint 134

      The following test fails, on all branches, ever since QLocale::Script was added for 4.8:

          QCOMPARE(QLocale::codeToScript(QLocale::scriptToCode(QLocale::LastScript)),
                   QLocale::LastScript);
      

      (or, where this public API isn't, yet, available, whatever else looks up scripts by name will fail)

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved: