From 45053fffc401dcfc32013bc0fc4e86a9fe4e9421 Mon Sep 17 00:00:00 2001 From: "Simon A. Eugster" Date: Tue, 14 Feb 2012 19:04:11 +0100 Subject: [PATCH] Mention QT_NO_STL in the QString documentation Defining QT_NO_STL disables STL functions (toStdString() etc.) too. Change-Id: Id5c8e12d933af6af63ee7f80fa2d5d7577cd689a Reviewed-by: Thiago Macieira --- src/corelib/tools/qstring.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/corelib/tools/qstring.cpp b/src/corelib/tools/qstring.cpp index 524096b..ca34096 100644 --- a/src/corelib/tools/qstring.cpp +++ b/src/corelib/tools/qstring.cpp @@ -936,7 +936,7 @@ int QString::grow(int size) systems). This method is only available if Qt is configured with STL - compatibility enabled. + compatibility enabled and if QT_NO_STL is not defined. \sa fromUtf16(), fromLatin1(), fromLocal8Bit(), fromUtf8(), fromUcs4() */ @@ -964,7 +964,7 @@ int QString::grow(int size) that accepts a std::wstring object. This operator is only available if Qt is configured with STL - compatibility enabled. + compatibility enabled and if QT_NO_STL is not defined. \sa utf16(), toAscii(), toLatin1(), toUtf8(), toLocal8Bit() */ @@ -7029,7 +7029,7 @@ bool QString::isRightToLeft() const can lead to loss of information. This operator is only available if Qt is configured with STL - compatibility enabled. + compatibility enabled and if QT_NO_STL is not defined. \sa toAscii(), toLatin1(), toUtf8(), toLocal8Bit() */ -- 2.7.4