summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-05-02 21:36:46 +0200
committerMontel Laurent <[email protected]>2017-05-02 21:36:46 +0200
commit3a605cfba1ed9430c7cfb95708a96b4a4348be3d (patch)
tree2a4d6418145866c82aa4a7c3fcd9a018f0e1ea5e
parentcf21cd6a289e99f4703dee9e849f8782dbc493b2 (diff)
don't use deprecated method
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 07d7a27..9324afe 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -88,7 +88,7 @@ endif(BUILD_TESTING)
########### Targets ###########
add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII")
-
+add_definitions( -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 )
add_subdirectory(src)
install( FILES pimcommon.renamecategories pimcommon.categories DESTINATION ${KDE_INSTALL_CONFDIR} )
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)