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:
commit
5b025fa2b0
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue