From 2f3b1790aac75bc45b847cd41ffc1600a0aa392e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Mal=C3=BD?= Date: Sun, 8 Mar 2020 17:08:27 +0100 Subject: [PATCH] Check for deprecated functions --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index abf399f..44e4877 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,8 @@ find_package(Qt5Core REQUIRED) find_package(Qt5Gui REQUIRED) find_package(Qt5Widgets REQUIRED) +add_definitions("-DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000") + if (UNIX) add_definitions("-DFFBC_PLATFORM_LINUX") add_definitions("-Wall -pedantic") -- 2.43.5