diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-04-12 12:48:13 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-04-12 13:39:00 (GMT) |
commit | 46163663e956b988719563eae18773a2dedd424e (patch) | |
tree | 1064cae633e56f66f7a1cc49de4720f3807284e0 /src/corelib/tools/tools.pri | |
parent | 04d1cbce75e77392077ce4ae014fe8774c32a8fc (diff) | |
download | Qt-46163663e956b988719563eae18773a2dedd424e.zip Qt-46163663e956b988719563eae18773a2dedd424e.tar.gz Qt-46163663e956b988719563eae18773a2dedd424e.tar.bz2 |
Added support for libICU for collation and toLower/toUpper.
This patch uses icu to do string collation via QString::localeAwareCompare
function and for QString::toLower/toUpper - which is important e.g. for turkish
locales where uppercased 'i' is not a latin 'I'.
Based on the patch by Harald Fernengel
Reviewed-by: Harald Fernengel
Reviewed-by: Zeno Albisser
Diffstat (limited to 'src/corelib/tools/tools.pri')
-rw-r--r-- | src/corelib/tools/tools.pri | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/corelib/tools/tools.pri b/src/corelib/tools/tools.pri index 849dc63..0c2cf16 100644 --- a/src/corelib/tools/tools.pri +++ b/src/corelib/tools/tools.pri @@ -97,6 +97,11 @@ else:SOURCES += tools/qelapsedtimer_generic.cpp contains(QT_CONFIG, zlib):include($$PWD/../../3rdparty/zlib.pri) else:include($$PWD/../../3rdparty/zlib_dependency.pri) +contains(QT_CONFIG,icu) { + SOURCES += tools/qlocale_icu.cpp + DEFINES += QT_USE_ICU +} + DEFINES += HB_EXPORT=Q_CORE_EXPORT INCLUDEPATH += ../3rdparty/harfbuzz/src HEADERS += ../3rdparty/harfbuzz/src/harfbuzz.h |