From 5dfe13812d88a9322eff903e373be174616c8067 Mon Sep 17 00:00:00 2001 From: silverqx Date: Wed, 19 Jun 2024 19:28:01 +0200 Subject: [PATCH] qmake/cmake updated comment --- cmake/CommonModules/TinyCommon.cmake | 4 ++-- qmake/common/common.pri | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmake/CommonModules/TinyCommon.cmake b/cmake/CommonModules/TinyCommon.cmake index 641e423bf..498651f83 100644 --- a/cmake/CommonModules/TinyCommon.cmake +++ b/cmake/CommonModules/TinyCommon.cmake @@ -28,10 +28,10 @@ ${TINY_UNPARSED_ARGUMENTS}") # Disable deprecated APIs up to the given Qt version # TODO qt5 remove silverqx if(QT_VERSION_MAJOR GREATER_EQUAL 6) - # Disable all the APIs deprecated up to Qt 6.7.0 + # Disable all the APIs deprecated up to Qt v6.7.0 (including) target_compile_definitions(${target} INTERFACE QT_DISABLE_DEPRECATED_UP_TO=0x060700) else() - # Disable all the APIs deprecated up to Qt 6.0.0 + # Disable all the APIs deprecated up to Qt v6.0.0 (including) target_compile_definitions(${target} INTERFACE QT_DISABLE_DEPRECATED_BEFORE=0x060000) endif() diff --git a/qmake/common/common.pri b/qmake/common/common.pri index 8a361005b..d999cdc7b 100644 --- a/qmake/common/common.pri +++ b/qmake/common/common.pri @@ -21,11 +21,11 @@ CONFIG -= c++11 app_bundle # --- # Disable deprecated APIs up to the given Qt version -# Disable all the APIs deprecated up to Qt 6.7.0 +# Disable all the APIs deprecated up to Qt v6.7.0 (including) # TODO qt5 remove silverqx versionAtLeast(QT_VERSION, 6): \ DEFINES *= QT_DISABLE_DEPRECATED_UP_TO=0x060800 -# Disable all the APIs deprecated up to Qt 6.0.0 +# Disable all the APIs deprecated up to Qt v6.0.0 (including) else: \ DEFINES *= QT_DISABLE_DEPRECATED_BEFORE=0x060000