Fix build with Qt 6.10

The private API was split into a separate CMake package
This commit is contained in:
Nicolas Fella 2025-04-18 17:38:37 +02:00
parent 44e0e1920e
commit bebe44e5f1

View file

@ -56,6 +56,10 @@ find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED
WaylandClient
)
if(Qt6WaylandClient_VERSION VERSION_GREATER_EQUAL "6.10.0")
find_package(Qt6 REQUIRED COMPONENTS WaylandClientPrivate)
endif()
find_package(KF6 ${KF6_MIN_VERSION} REQUIRED COMPONENTS
I18n
GlobalAccel