Commit 7f5ebab3 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Adapt build system for building against qt6

parent 0e6bbaad
Pipeline #121303 passed with stage
in 1 minute
......@@ -50,7 +50,7 @@ set(LIBKLEO_LIB_VERSION "5.19.40")
set(QT_REQUIRED_VERSION "5.15.2")
set(KIMAP_LIB_VERSION "5.19.40")
set(PIMCOMMON_LIB_VERSION "5.19.40")
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets WebEngine WebEngineWidgets)
find_package(Qt${QT_MAJOR_VERSION} ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets WebEngine WebEngineWidgets)
# Find KF5 package
find_package(KF5Crash ${KF5_MIN_VERSION} REQUIRED)
......
......@@ -34,7 +34,6 @@ if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
endif()
target_link_libraries(contactprintthemeeditor
Qt::WebEngineWidgets
KF5::DBusAddons
KF5::NewStuff
KF5::AkonadiContact
......@@ -42,7 +41,7 @@ target_link_libraries(contactprintthemeeditor
grantleethemeeditor
KF5::PimTextEdit
KF5::I18n
Qt::WebEngineWidgets
Qt${QT_MAJOR_VERSION}::WebEngineWidgets
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