diff options
author | Simon A. Eugster <simon.eu@gmail.com> | 2012-02-14 19:04:11 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-17 16:42:28 +0100 |
commit | 45053fffc401dcfc32013bc0fc4e86a9fe4e9421 (patch) | |
tree | eb771255a652b0e2d38a38ab588eee166055000e | |
parent | e5bcb4844d71b833d62aedcca3829f44b505dbb0 (diff) |
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 <thiago.macieira@intel.com>
-rw-r--r-- | src/corelib/tools/qstring.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/tools/qstring.cpp b/src/corelib/tools/qstring.cpp index 524096b889..ca34096ec5 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() */ |