aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2019-10-25 00:26:19 +0200
committerDavid Faure <faure@kde.org>2019-10-25 00:26:19 +0200
commitd704d7a465417e4ced8354f89cd5ee74a351c9bc (patch)
tree5af5c016386ef720d7198a23568c182cbe72872e
parent09d65adaf3605da0acda9e491c151cd4ed7b130d (diff)
downloadkconfig-d704d7a465417e4ced8354f89cd5ee74a351c9bc.tar.gz
kconfig-d704d7a465417e4ced8354f89cd5ee74a351c9bc.tar.bz2
GIT_SILENT enable Qt deprecation warnings
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6949f32e..f7e412ec 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -52,6 +52,8 @@ ecm_setup_version(PROJECT VARIABLE_PREFIX KCONFIG
SOVERSION 5)
add_definitions(-DQT_NO_FOREACH)
+add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00)
+add_definitions(-DQT_DEPRECATED_WARNINGS_SINCE=0x060000)
add_subdirectory(src)
if (BUILD_TESTING)