summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-05-02 21:34:01 +0200
committerMontel Laurent <[email protected]>2017-05-02 21:34:01 +0200
commit3549003d61a4e2b2295d1b065af3060f718acf24 (patch)
tree95acbddfbd98dfdf22eb63febad4696fde3b97d2
parentd3ef8ffbfc4865f7a446b0912d28334151f44859 (diff)
don't use deprecated method
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 589e2a0..b45f629 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -69,6 +69,7 @@ ecm_setup_version(PROJECT VARIABLE_PREFIX LIBKSIEVE
add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII")
add_definitions( -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT )
remove_definitions( -DQT_NO_CAST_FROM_BYTEARRAY )
+add_definitions( -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 )
########### CMake Config Files ###########
set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5LibKSieve")