Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
master
-
None
-
-
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
- is required for
-
QTBUG-63518 QString::localeAwareCompare problem with case sensitivity on Android
- Reported
For Gerrit Dashboard: COIN-727 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
339268,6 | Add .UTF-8 suffixes to locale-names passed to setlocale() | dev | qt/qtbase | Status: MERGED | +2 | 0 |
364024,2 | Change locale to en_US and install all available language packages | dev | qt/qt5 | Status: MERGED | +2 | 0 |
364587,2 | Change locale to en_US and install all available language packages | 6.2 | qt/qt5 | Status: MERGED | +2 | 0 |