]> Devoid-pointer.net GitWeb - FFBChecker.git/commitdiff
Check for deprecated functions
authorMichal Malý <madcatxster@devoid-pointer.net>
Sun, 8 Mar 2020 16:08:27 +0000 (17:08 +0100)
committerMichal Malý <madcatxster@devoid-pointer.net>
Sun, 8 Mar 2020 16:20:28 +0000 (17:20 +0100)
CMakeLists.txt

index abf399f58b7118c5b4c88afaeba80adf2de52fcf..44e4877c7684f271dd2302af1e93d5452d20efc4 100644 (file)
@@ -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")