Skip to content

Commit cd850c0

Browse files
hillwoodrocBLumia
authored andcommitted
fix(cmake): fix missing target error when building with Qt >= 6.10
Add QuickTemplates2Private to Qt private components to fix missing target error when building with Qt >= 6.10
1 parent 8d84772 commit cd850c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ include(KDEGitCommitHooks)
5454

5555
find_package(Qt${QT_VERSION_MAJOR} ${REQUIRED_QT_VERSION} REQUIRED COMPONENTS Core Gui Concurrent Quick QuickTemplates2 WaylandClient WaylandCompositor DBus LinguistTools Sql)
5656
if(Qt${QT_VERSION_MAJOR}_VERSION VERSION_GREATER_EQUAL 6.10)
57-
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS WaylandClientPrivate WaylandCompositorPrivate REQUIRED)
57+
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS WaylandClientPrivate WaylandCompositorPrivate QuickTemplates2Private REQUIRED)
5858
endif()
5959
find_package(Dtk${DTK_VERSION_MAJOR} REQUIRED COMPONENTS Core Gui)
6060
find_package(ICU 74.2 REQUIRED COMPONENTS uc i18n io)

0 commit comments

Comments
 (0)