diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-01-18 20:52:36 +0100 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2019-01-21 16:47:32 +0000 |
commit | 9f8589befe99f3c4eecf27d9972abfbbc2fead9c (patch) | |
tree | bc043ad743b6ab2bd36919acf9a9a57469880fc1 /dist | |
parent | af821f79cacbac0be9995a7eb4a0448a9a2958bf (diff) |
tst_QString: fix localeAwareCompare() when using ICU
tst_QString::localeAwareCompare() is failing since
ab448f731ecd8437c7c5c8b96a0e7f419ec3a7ca because the 'C' locale no
longer initializes ICU and falls back to simple QString comparison.
Fix it by explicitly setting the locale for the testdata to en_US so the
QCollator is properly initialized.
Task-number: QTBUG-73116
Change-Id: I9d4d55e666c5c52f93298dedb7e22da01a25318d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 9d2923c1b048b519c352c40bf26328dacef9304e)
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions