aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-05-02 21:33:45 +0200
committerMontel Laurent <[email protected]>2017-05-02 21:33:45 +0200
commitffe6487abc68baa6c7934719943baa19349c75a5 (patch)
tree6501d1844d624374a97e86e08ac51c323cfed4f0
parent15dee2f8fade7c8818317d8718eebc83290ca8a2 (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 f41ecc0..bb9eb94 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -46,7 +46,7 @@ ecm_setup_version(PROJECT VARIABLE_PREFIX GRAVATAR
add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII")
add_definitions( -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT )
-
+add_definitions( -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 )
########### CMake Config Files ###########
set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5Gravatar")