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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 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
    • Foundation Sprint 134

    Description

      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)

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-138566
          # 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 2 open Gerrit changes