diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2012-11-21 06:08:24 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-21 18:23:59 +0100 |
commit | fe8962d3a506a850878401309f81247c80f3d203 (patch) | |
tree | ef90091eb6f7d6eaaddf0ff357f76cf5ddcf768f /tests/auto/corelib/tools/qlocale/test | |
parent | e7c79face6ec361e4ad0ff8303f1becafac8b2b6 (diff) |
Use likelySubtags to instantiate a locale id from it's short form
...just like described in http://www.unicode.org/reports/tr35/#Likely_Subtags.
This is much more effective than current "guessing" algorithm
+ makes it possible to instantiate a locale by the script or territory code only.
Change-Id: I674f8476e65b01c56960b6e83a1a346df0715274
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests/auto/corelib/tools/qlocale/test')
-rw-r--r-- | tests/auto/corelib/tools/qlocale/test/test.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/tools/qlocale/test/test.pro b/tests/auto/corelib/tools/qlocale/test/test.pro index d7cdec2d81..4002a5c5ea 100644 --- a/tests/auto/corelib/tools/qlocale/test/test.pro +++ b/tests/auto/corelib/tools/qlocale/test/test.pro @@ -1,7 +1,7 @@ CONFIG += console testcase CONFIG += parallel_test CONFIG -= app_bundle -QT = core testlib +QT = core testlib core-private embedded: QT += gui SOURCES = ../tst_qlocale.cpp |