diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-04-24 16:57:13 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-04-24 22:31:36 +0000 |
commit | e7222c0a71bf9b4fdd3bd660984dfa1045013514 (patch) | |
tree | 90a2f9a26a87562a81a57c3c400f838192c55f74 | |
parent | 2d1a115f9fe40edad2065513d8d839c405ad062d (diff) |
Make QT_ASCII_CAST_WARN more informative
Change-Id: I4b9aad9cc2f2605a01635c2760e76fde7023f92f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r-- | src/corelib/global/qglobal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index d4d20fd54a..79053329a1 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -461,7 +461,7 @@ typedef qptrdiff qintptr; #endif #ifdef QT_ASCII_CAST_WARNINGS -# define QT_ASCII_CAST_WARN Q_DECL_DEPRECATED +# define QT_ASCII_CAST_WARN Q_DECL_DEPRECATED_X("Use fromUtf8, QStringLiteral, or QLatin1String") #else # define QT_ASCII_CAST_WARN #endif |