Document behavioral dependencies to ICU in QLocale

On Windows, Qt5Core does not link against ICU anymore.
So it's worthwhile to point out that QLocale::toUpper(),
QLocale::toLower() will just fall back to QString equivalents
/ "C"-locale conversions.

Change-Id: Icadc20f3033aa39fcee93e61e082562945951c08
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
Kai Koehne 2014-05-06 12:22:06 +02:00 committed by The Qt Project
parent 6e5410e5b5
commit 8c0b28a5a8

View File

@ -2404,6 +2404,13 @@ Qt::LayoutDirection QLocale::textDirection() const
\since 4.8
Returns an uppercase copy of \a str.
If Qt Core is using the ICU libraries, they will be used to perform
the transformation according to the rules of the current locale.
Otherwise the conversion may be done in a platform-dependent manner,
with QString::toUpper() as a generic fallback.
\sa QString::toUpper()
*/
QString QLocale::toUpper(const QString &str) const
{
@ -2421,6 +2428,13 @@ QString QLocale::toUpper(const QString &str) const
\since 4.8
Returns a lowercase copy of \a str.
If Qt Core is using the ICU libraries, they will be used to perform
the transformation according to the rules of the current locale.
Otherwise the conversion may be done in a platform-dependent manner,
with QString::toLower() as a generic fallback.
\sa QString::toLower()
*/
QString QLocale::toLower(const QString &str) const
{