From 41f89e224d2558fe6a0a31b9a6f6da776837afad Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Fri, 11 Jun 2021 14:45:12 +0200 Subject: Remove unneeded CMake variable assignments Remove assignments to the transitionary variables QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS and QT_USE_FIXED_QT_ADD_RESOURCE_BASE. Both are not needed anymore. Task-number: QTBUG-94444 Change-Id: I6085882a944f423da719ac13c8a12a4962c63bf6 Reviewed-by: Qt CI Bot Reviewed-by: Alexandru Croitor --- CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2798e5fa..64f6273a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,14 +10,6 @@ project(QtQuickControls2 LANGUAGES CXX C ) -# special case begin -# Make sure we only use latest private CMake API, aka no compatibility wrappers. -set(QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS TRUE) - -# Make sure we use the fixed BASE argument of qt_add_resource. -set(QT_USE_FIXED_QT_ADD_RESOURCE_BASE TRUE) -# special case end - find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Qml) # special case find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Gui Network Quick Widgets QuickTest) # special case if(NOT TARGET Qt::Quick) -- cgit v1.2.3