Commit 5fa3fb67 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Time to increase version + use qt_ macro + qt::

parent b61be6e6
Pipeline #62444 failed with stage
in 1 minute and 43 seconds
cmake_minimum_required (VERSION 3.5 FATAL_ERROR) cmake_minimum_required (VERSION 3.16 FATAL_ERROR)
# KDE Application Version, managed by release script # KDE Application Version, managed by release script
set(RELEASE_SERVICE_VERSION_MAJOR "21") set(RELEASE_SERVICE_VERSION_MAJOR "21")
...@@ -8,8 +8,8 @@ set(RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_ ...@@ -8,8 +8,8 @@ set(RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_
project(kturtle VERSION ${RELEASE_SERVICE_VERSION}) project(kturtle VERSION ${RELEASE_SERVICE_VERSION})
set(QT_MIN_VERSION "5.11.0") set(QT_MIN_VERSION "5.15.0")
set(KF5_MIN_VERSION "5.46.0") set(KF5_MIN_VERSION "5.83.0")
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE) find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
......
...@@ -25,7 +25,7 @@ set(kturtle_SRCS ...@@ -25,7 +25,7 @@ set(kturtle_SRCS
resources.qrc resources.qrc
) )
qt5_add_dbus_adaptor(kturtle_SRCS interpreter/org.kde.kturtle.Interpreter.xml qt_add_dbus_adaptor(kturtle_SRCS interpreter/org.kde.kturtle.Interpreter.xml
interpreter/interpreter.h Interpreter) interpreter/interpreter.h Interpreter)
file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/../icons/*-apps-kturtle.png") file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/../icons/*-apps-kturtle.png")
...@@ -38,11 +38,11 @@ target_link_libraries(kturtle ...@@ -38,11 +38,11 @@ target_link_libraries(kturtle
KF5::KIOCore KF5::KIOCore
KF5::NewStuff KF5::NewStuff
KF5::I18n KF5::I18n
Qt5::Core Qt::Core
Qt5::Gui Qt::Gui
Qt5::Xml Qt::Xml
Qt5::Svg Qt::Svg
Qt5::PrintSupport Qt::PrintSupport
KF5::TextWidgets KF5::TextWidgets
KF5::Crash KF5::Crash
) )
......
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