Commit ea57598b authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Adapt build system to Qt6

parent 922d4c75
......@@ -25,7 +25,7 @@ include(ECMAddAppIcon)
include(ECMSetupVersion)
include(FeatureSummary)
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
Core
Widgets
PrintSupport
......@@ -338,7 +338,7 @@ target_link_libraries(kolourpaint
KF5::XmlGui
KF5::KIOFileWidgets
KF5::TextWidgets
Qt5::PrintSupport
Qt${QT_MAJOR_VERSION}::PrintSupport
${KSANE_LIBRARIES}
kolourpaint_lgpl
)
......@@ -357,7 +357,7 @@ install(TARGETS kolourpaint ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(PROGRAMS org.kde.kolourpaint.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES org.kde.kolourpaint.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
install(FILES kolourpaintui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kolourpaint)
install(FILES kolourpaintui.rc DESTINATION ${KDE_INSTALL_KXMLGUIDIR}/kolourpaint)
ki18n_install(po)
kdoctools_install(po)
......
......@@ -22,7 +22,7 @@ target_link_libraries(kolourpaint_lgpl
KF5::WidgetsAddons
KF5::KIOCore
KF5::JobWidgets
Qt5::Widgets
Qt${QT_MAJOR_VERSION}::Widgets
)
set_target_properties(kolourpaint_lgpl
......
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