Merge pull request #1947 from heirecka/fix-build-with-qt-6.10

Search for private modules with Qt 6.10
This commit is contained in:
DeepBlueV7.X 2025-09-04 22:18:39 +00:00 committed by GitHub
commit 5b025fa2b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -247,6 +247,9 @@ endif()
# Discover Qt dependencies.
#
find_package(Qt6 6.5 COMPONENTS Core Widgets Gui LinguistTools Svg Multimedia Qml QuickControls2 REQUIRED)
if (Qt6Qml_VERSION VERSION_GREATER_EQUAL "6.10.0")
find_package(Qt6 REQUIRED COMPONENTS GuiPrivate QmlPrivate)
endif()
find_package(Qt6DBus)
if(USE_BUNDLED_QTKEYCHAIN)