From c3ec3edb819dc3fde34c36a031f380e2de59eb01 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Fri, 27 Nov 2020 16:31:10 +0100 Subject: [PATCH] Indicate the limited locale selection in the POSIX backend Change-Id: I82798de7ff313121144798969eed85c23e852d10 Reviewed-by: Thiago Macieira Reviewed-by: Paul Wicking --- src/corelib/text/qcollator.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/corelib/text/qcollator.cpp b/src/corelib/text/qcollator.cpp index d1bf8258aeb..646c0c57b6b 100644 --- a/src/corelib/text/qcollator.cpp +++ b/src/corelib/text/qcollator.cpp @@ -69,8 +69,9 @@ QT_BEGIN_NAMESPACE In addition to the locale, several optional flags can be set that influence the result of the collation. - \note All options are ignored on Linux unless Qt is configured to use ICU - (which it usually is). + \note On Linux, Qt is normally compiled to use ICU. When it isn't, all + options are ignored and the only supported locales are the system default + (that \c{setlocale(LC_COLLATE, nullptr)} would report) and the "C" locale. */ /*!