Fix build by reverting the level of Qt deprecation API.

I'll ensure there's a task about qmlRegisterInterface....
This commit is contained in:
David Faure 2021-04-04 15:49:48 +02:00
parent 508d371184
commit 82884be7a6

View File

@ -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)