Commit 138ffddb authored by Laurent Montel's avatar Laurent Montel
Browse files

Adapt build system for building against qt6

parent d6fd4912
Pipeline #145139 passed with stage
in 1 minute and 1 second
......@@ -3,7 +3,7 @@ project(plasma-nano)
# minimal requirements
cmake_minimum_required(VERSION 3.16)
set (QT_MIN_VERSION "5.15.0")
set(KF5_MIN_VERSION "5.86")
set(KF5_MIN_VERSION "5.90")
set(KDE_COMPILERSETTINGS_LEVEL "5.82")
set(CMAKE_CXX_STANDARD 17)
......@@ -28,7 +28,7 @@ include(KDEGitCommitHooks)
include(GenerateExportHeader)
include(FeatureSummary)
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED Core Gui Qml Quick)
find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED Core Gui Qml Quick)
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Plasma WindowSystem Wayland)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment