From d704d7a465417e4ced8354f89cd5ee74a351c9bc Mon Sep 17 00:00:00 2001 From: David Faure Date: Fri, 25 Oct 2019 00:26:19 +0200 Subject: GIT_SILENT enable Qt deprecation warnings --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.1