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

Fix qt6 support

parent 62333faf
Pipeline #119822 passed with stage
in 46 seconds
......@@ -9,7 +9,7 @@ set(RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_
project(kbruch 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 ${ECM_MODULE_PATH} )
......@@ -23,7 +23,7 @@ include(ECMSetupVersion)
include(ECMInstallIcons)
include(FeatureSummary)
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED
find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED
Core
Widgets
)
......@@ -31,7 +31,6 @@ find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED
Config
Crash
DocTools
I18n
WidgetsAddons
XmlGui
......
......@@ -53,8 +53,8 @@ install(TARGETS kbruch ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
install( PROGRAMS org.kde.kbruch.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
install( FILES kbruch.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR} )
install( FILES kbruchui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kbruch )
install( FILES AppMenuWidgetui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kbruch )
install( FILES FractionRingWidgetui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kbruch )
install( FILES kbruchui.rc DESTINATION ${KDE_INSTALL_KXMLGUIDIR}/kbruch )
install( FILES AppMenuWidgetui.rc DESTINATION ${KDE_INSTALL_KXMLGUIDIR}/kbruch )
install( FILES FractionRingWidgetui.rc DESTINATION ${KDE_INSTALL_KXMLGUIDIR}/kbruch )
ecm_install_icons( ICONS 16-apps-kbruch.png 22-apps-kbruch.png 32-apps-kbruch.png 48-apps-kbruch.png 64-apps-kbruch.png sc-apps-kbruch.svgz DESTINATION ${KDE_INSTALL_ICONDIR} THEME hicolor )
Markdown is supported
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