summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-04-13 13:08:13 +0200
committerMontel Laurent <[email protected]>2017-04-13 13:08:13 +0200
commit70e135c8377bde47ed35dcdc41691124cd203bb0 (patch)
tree2a71d3ecbe827a443c706c901e0857ec61d4ccdc
parent8b6723eeddcebf164f070f852577eb67b400a230 (diff)
Activate by default QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e93a613..3526468 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -87,6 +87,7 @@ set_package_properties(Xsltproc PROPERTIES DESCRIPTION "XSLT processor from libx
########### Targets ###########
#add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII")
+add_definitions( -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT )
add_definitions("-DQT_NO_CAST_TO_ASCII")
remove_definitions( -DQT_NO_CAST_FROM_BYTEARRAY )
remove_definitions( -DQT_NO_CAST_FROM_ASCII )