Commit a6bc9e17 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Prepare to build against qt6

parent 13904968
Pipeline #173798 passed with stage
in 33 seconds
......@@ -9,7 +9,7 @@ set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE
project(kmousetool VERSION "${RELEASE_SERVICE_VERSION}")
set(QT_MIN_VERSION "5.15.0")
set(KF5_MIN_VERSION "5.85.0")
set(KF5_MIN_VERSION "5.90.0")
find_package (ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH})
......@@ -22,7 +22,7 @@ include(ECMInstallIcons)
include(CheckIncludeFiles)
include(FeatureSummary)
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core Gui Widgets)
find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core Gui Widgets)
find_package (KF5 ${KF5_MIN_VERSION} REQUIRED
DBusAddons
......
......@@ -21,9 +21,9 @@ target_link_libraries(kmousetool
KF5::Notifications
KF5::WindowSystem
KF5::XmlGui
Qt::Widgets
Qt::Gui
Qt::Core
Qt${QT_MAJOR_VERSION}::Widgets
Qt${QT_MAJOR_VERSION}::Gui
Qt${QT_MAJOR_VERSION}::Core
Phonon::phonon4qt5
${X11_XTest_LIB}
${X11_Xext_LIB}
......
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