summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-04-13 13:10:29 +0200
committerMontel Laurent <[email protected]>2017-04-13 13:10:29 +0200
commit4bf5f2dae496d6f13f7900bf88285ade26931187 (patch)
tree025d16564e2a134f739ab2f7d122cb741770d4ca
parentaa8995ceac6bd1e0be9720d4bbf1675013ac42ff (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 2609134..8818021 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -47,6 +47,7 @@ find_package(KF5IconThemes ${KF5_VERSION} CONFIG REQUIRED)
find_package(KF5PimTextEdit ${PIMTEXTEDIT_LIB_VERSION} CONFIG REQUIRED)
add_definitions(-DTRANSLATION_DOMAIN=\"libkpimidentities5\")
add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII")
+add_definitions( -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT )
########### Targets ###########
add_subdirectory(src)