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)