Uploaded image for project: 'Coin'
  1. Coin
  2. COIN-727

Android test VMs lack locales

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • master
    • Provisioning
    • None
    • Android
    • 2
    • qt5/beb8fcca5fea9f693cc96a429bd2532c1bc81ebd
    • Qt6_Foundation_Sprint 35

    Description

      Trying to test a possible fix for QTBUG-63518, I run into the discovery that our Android test VMs don't seem to have any locales installed. Specifically, calls to setlocale(LC_ALL, "en_US") fail, and similar for no_NO, de_DE, sv_SE and (least importantly) the last two with a .ISO8859-1 suffix. This severely limits testing of localization.

      Example build exhibiting this; search for tst_QString::localeAwareCompare.

      It should be possible to install the locales package on any Linux system and configure it to enable at least en_US.UTF-8 plus, preferably, as many of the locales listed above as possible, plus ar_SA (Arabic, Saudi Arabia). Various tests are skipped if these locales aren't installed; it would be better to do fuller testing.

      Attachments

        Issue Links

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

          Activity

            People

              tosaario Toni Saario
              Eddy Edward Welbourne
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes