From 4cb2a27a4ccfc527141e4185f8c91ba2ee8dce3d Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Sun, 4 Jun 2023 09:17:37 +0200 Subject: [PATCH] Use qt6 only --- CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 33fbe0b..915f82f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,11 +32,7 @@ include(KDEClangFormat) include(ECMQtDeclareLoggingCategory) -find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS WaylandClient Qml) -if (QT_MAJOR_VERSION EQUAL "5") - find_package(Qt5XkbCommonSupport REQUIRED PRIVATE) - find_package(QtWaylandScanner REQUIRED) -endif() +find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS WaylandClient Qml) find_package(WaylandScanner REQUIRED) find_package(Wayland 1.3 COMPONENTS Client Server) find_package(WaylandProtocols REQUIRED)