diff options
authorFriedemann Kleint <>2014-04-14 11:29:37 +0200
committerThe Qt Project <>2014-04-16 06:28:43 +0200
commit3536823c7f967b164f64a6bcfa64e4c5e3b8eb01 (patch)
parenta75153f8d0ae2b1203f8341deb71d753be009efd (diff)
QCollator: Add note about ICU dependency.
Task-number: QTBUG-28766 Change-Id: If661915457c4874a72e1111b85897aea596362bf Reviewed-by: Leena Miettinen <> Reviewed-by: Thiago Macieira <>
1 files changed, 5 insertions, 0 deletions
diff --git a/src/corelib/tools/qcollator.cpp b/src/corelib/tools/qcollator.cpp
index 9c97d6b158..f7dfaa7d33 100644
--- a/src/corelib/tools/qcollator.cpp
+++ b/src/corelib/tools/qcollator.cpp
@@ -205,6 +205,11 @@ QLocale QCollator::locale() const
By default this mode is off.
+ \note On Windows, this functionality makes use of the \l{ICU} library. If Qt was
+ compiled without ICU support, it falls back to code using native Windows API,
+ which only works from Windows 7 onwards. On older versions of Windows, it will not work
+ and a warning will be emitted at runtime.
\sa numericMode()