Commit 0a388805 authored by Laurent Montel's avatar Laurent Montel
Browse files

Adapt build system for building against qt6

parent 2f2a06ab
Pipeline #121308 passed with stage
in 45 seconds
......@@ -49,7 +49,7 @@ set(KDEPIM_LIB_SOVERSION "5")
set(QT_REQUIRED_VERSION "5.15.2")
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED DBus Widgets WebEngine WebEngineWidgets)
find_package(Qt${QT_MAJOR_VERSION} ${QT_REQUIRED_VERSION} CONFIG REQUIRED DBus Widgets WebEngine WebEngineWidgets)
set(LIBKDEPIM_LIB_VERSION "5.19.40")
set(LIBGRANTLEETHEME_LIB_VERSION "5.19.40")
# Find KF5 package
......
......@@ -52,8 +52,8 @@ target_link_libraries(kontactprivate
KF5::Libkdepim
KF5::PimCommon
KF5::GrantleeTheme
Qt::WebEngine
Qt::WebEngineWidgets
Qt${QT_MAJOR_VERSION}::WebEngine
Qt${QT_MAJOR_VERSION}::WebEngineWidgets
)
set_target_properties(kontactprivate PROPERTIES
......
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