Find CorePrivate package with Qt >= 6.10

PR #22890.
Closes #22887.
This commit is contained in:
Vladimir Golovnev 2025-06-20 10:20:13 +03:00 committed by GitHub
parent e27cbab7ee
commit 599a2d0c93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,6 +47,9 @@ find_package(Boost ${minBoostVersion} REQUIRED)
find_package(OpenSSL ${minOpenSSLVersion} REQUIRED)
find_package(ZLIB ${minZlibVersion} REQUIRED)
find_package(Qt6 ${minQt6Version} REQUIRED COMPONENTS Core Network Sql Xml LinguistTools)
if (Qt6_FOUND AND (Qt6_VERSION VERSION_GREATER_EQUAL 6.10))
find_package(Qt6 ${minQt6Version} REQUIRED COMPONENTS CorePrivate)
endif()
if (DBUS)
find_package(Qt6 ${minQt6Version} REQUIRED COMPONENTS DBus)
set_package_properties(Qt6DBus PROPERTIES