Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ endif()
include(FeatureSummary)

# Find Qt package
find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core Gui Qml Quick OpenGL )
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Core Qml Gui Quick OpenGL)
find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core CorePrivate Gui GuiPrivate Qml Quick QuickPrivate OpenGL)
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Core CorePrivate Qml Gui GuiPrivate Quick QuickPrivate OpenGL)

if (${QT_VERSION_MAJOR} EQUAL 6)
# TODO use new policy
Expand Down