summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-06-14 13:06:49 +0200
committerMontel Laurent <[email protected]>2017-06-14 13:06:49 +0200
commit781d3e0f13894b9f0ee69f67d6625c7286bbca66 (patch)
treec7e5e4798cadb1100a0f4834109a2f71b3e631b2
parent15125f078728632ec877d926aaf310b7e7011884 (diff)
Add more definitions QT_NO_URL_CAST_FROM_STRING
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5d32674..55cd71d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,6 +41,10 @@ find_package(KF5CalendarCore ${CALENDARCORE_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5CalendarUtils ${CALENDARUTILS_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5Contacts ${KCONTACTS_LIB_VERSION} CONFIG REQUIRED)
+add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII")
+#add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
+add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT)
+add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
configure_package_config_file(
"${KTnef_SOURCE_DIR}/KF5TnefConfig.cmake.in"