GIT_SILENT Upgrade Qt5 version requirement to 5.15.0.

This commit is contained in:
David Faure 2021-04-04 15:10:53 +02:00
parent 93598ec180
commit 508d371184

View File

@ -39,7 +39,7 @@ ecm_setup_version(PROJECT
add_definitions(-DQT_NO_FOREACH)
################# now find all used packages #################
set (REQUIRED_QT_VERSION 5.14.0)
set (REQUIRED_QT_VERSION 5.15.0)
find_package(Qt5 ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE COMPONENTS Quick Gui Sql Qml Svg QuickControls2)
@ -138,7 +138,7 @@ ecm_setup_qtplugin_macro_names(
CONFIG_CODE_VARIABLE
PACKAGE_SETUP_AUTOMOC_VARIABLES
)
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050e00)
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055000)
#add_definitions(-Wno-deprecated)