summaryrefslogtreecommitdiff
path: root/qmake-features
diff options
context:
space:
mode:
authorBernd Weimer <bernd.weimer@pelagicore.com>2020-07-16 18:31:22 +0200
committerBernd Weimer <bernd.weimer@pelagicore.com>2020-09-17 15:27:51 +0200
commit21b709f252cb6df188621816ff6ad2db7c402b00 (patch)
treefbd7f8a9bf2ea3520996d6f657edd9e9413d6c58 /qmake-features
parent43eb4f668a1df26722488e304aa42413f432ca73 (diff)
downloadqtapplicationmanager-21b709f252cb6df188621816ff6ad2db7c402b00.tar.gz
Disallow implicit ASCII casts
Disallow implicit C string to QString conversion, except in tests. Change-Id: I0d1477784eede11a54544c28b338fe7ecd42ef02 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Diffstat (limited to 'qmake-features')
-rw-r--r--qmake-features/am-config.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake-features/am-config.prf b/qmake-features/am-config.prf
index afcaddda..412eb2df 100644
--- a/qmake-features/am-config.prf
+++ b/qmake-features/am-config.prf
@@ -9,7 +9,7 @@ CONFIG += exceptions
CONFIG *= headless
}
-DEFINES += QT_MESSAGELOGCONTEXT
+DEFINES += QT_MESSAGELOGCONTEXT QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII
# CONFIG += sanitizer sanitize_address sanitize_undefined