From 4205de2fd85549ff9b6d467feb67f177d64487bc Mon Sep 17 00:00:00 2001 From: Bernhard Froehler Date: Wed, 12 Nov 2025 16:01:19 +0100 Subject: [PATCH] [commontk] cmake: Add 6.10 support (additional CorePrivate component) --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d8abaf44..c2fd9e3d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -143,6 +143,12 @@ if(BUILD_TESTING) endif() list(REMOVE_DUPLICATES qt_required_components) +if("${Qt${PythonQt_QT_VERSION}_VERSION}" VERSION_GREATER_EQUAL "6.10.0") + list (APPEND qt_required_components + CorePrivate + ) +endif() + message(STATUS "${PROJECT_NAME}: Required Qt components [${qt_required_components}]") find_package(Qt${PythonQt_QT_VERSION} ${minimum_required_qt_version} COMPONENTS ${qt_required_components} REQUIRED)