aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-06-14 08:10:59 +0200
committerMontel Laurent <[email protected]>2017-06-14 08:10:59 +0200
commitb05c7f8fdb327fcd1da74aa1d66d50a294e5d6c7 (patch)
tree4dc11bdf74c24bd5065fbf2970391ce1a4372a32
parent33cf5bb5eac70af4222fd6c2ba53388f94e08592 (diff)
Use -DQT_NO_URL_CAST_FROM_STRING
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 96e9c12..cbefc8b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -62,6 +62,7 @@ find_package(KF5AkonadiContact ${AKONADICONTACT_LIB_VERSION} CONFIG REQUIRED)
add_definitions(-DTRANSLATION_DOMAIN=\"libakonadi-calendar5\")
add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII")
add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT)
+add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
#add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
add_subdirectory(src)