From bc1cf29b587ac6e58b3cb4744cc3141d3f340fba Mon Sep 17 00:00:00 2001 From: Heiko Becker Date: Thu, 17 Sep 2020 21:50:02 +0200 Subject: [PATCH] [kstyle] Require Qt 5.15 QWindow::startSystemMove, which was introduced with Qt 5.15, was added with commit 6d83b045443f8d333dd0cd0042a17b5b3a668d05. --- CMakeLists.txt | 1 + kstyle/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b000426b..677bea6f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,7 @@ set(PROJECT_VERSION "5.19.90") set(PROJECT_VERSION_MAJOR 5) set(KF5_MIN_VERSION "5.74") +set(QT_MIN_VERSION "5.15.0") include(GenerateExportHeader) include(WriteBasicConfigVersionFile) diff --git a/kstyle/CMakeLists.txt b/kstyle/CMakeLists.txt index b269cd18..0abe736b 100644 --- a/kstyle/CMakeLists.txt +++ b/kstyle/CMakeLists.txt @@ -1,5 +1,5 @@ ################# Qt/KDE ################# -find_package(Qt5 REQUIRED CONFIG COMPONENTS Widgets DBus) +find_package(Qt5 ${QT_MIN_VERSION} REQUIRED CONFIG COMPONENTS Widgets DBus) find_package(KF5 REQUIRED COMPONENTS I18n Config