From af068aada2b3f186bb29180d2a879070d804d6fd Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Fri, 14 May 2021 20:08:23 +0200 Subject: Use fixed qt_add_resource BASE argument Pick-to: 6.1 Task-number: QTBUG-86726 Change-Id: I7457f9336915e5913c6c98053db979eb9ca197a5 Reviewed-by: Alexandru Croitor Reviewed-by: Qt CI Bot --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 4936922..46e457d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,9 @@ project(QtImageFormats # special case # 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) # special case -- cgit v1.2.1