From 82884be7a6761acecde291bed02c38486982aae6 Mon Sep 17 00:00:00 2001 From: David Faure Date: Sun, 4 Apr 2021 15:49:48 +0200 Subject: [PATCH] Fix build by reverting the level of Qt deprecation API. I'll ensure there's a task about qmlRegisterInterface.... --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a694e2362..9bbd99c3f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -138,7 +138,7 @@ ecm_setup_qtplugin_macro_names( CONFIG_CODE_VARIABLE PACKAGE_SETUP_AUTOMOC_VARIABLES ) -add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00) +add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050e00) # must port away from qmlRegisterInterface before upgrading this to 050f00 add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055000) #add_definitions(-Wno-deprecated)