From 1a32a31a035fd0bf79be068aac5c0bf6af0665dd Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Tue, 20 Aug 2019 16:02:05 +0200 Subject: [PATCH] Disallow deprecated Qt API We don't use any deprecated Qt API at the moment. Let's keep it that way --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ff1fc9dab..c8126f9e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,6 +51,7 @@ else() find_package(KF5PulseAudioQt) endif() add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_KEYWORDS -DQT_NO_CAST_FROM_ASCII) + add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000) endif() find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS Quick Network)