Commit 964a0bb5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Adapt build system for building against qt6 (need plasma to be port to

qt6)
parent 9be5733c
Pipeline #117546 failed with stage
in 25 seconds
......@@ -17,7 +17,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set (QT_MIN_VERSION "5.15.0")
set (KF5_MIN_VERSION "5.89.0")
set (KF5_MIN_VERSION "5.90.0")
find_package(ECM ${KF5_MIN_VERSION} REQUIRED CONFIG)
......@@ -77,7 +77,7 @@ add_definitions(
-DQT_NO_CAST_FROM_BYTEARRAY
-DQT_DISABLE_DEPRECATED_BEFORE=0x050F02
-DQT_DEPRECATED_WARNINGS_SINCE=0x060000
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055200
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055900
-DKF_DEPRECATED_WARNINGS_SINCE=0x060000
)
......
......@@ -69,10 +69,10 @@ if (Qt5TextToSpeech_FOUND)
endif()
target_link_libraries(knights
Qt5::Network
Qt5::Svg
Qt5::Gui
Qt5::Concurrent
Qt${QT_MAJOR_VERSION}::Network
Qt${QT_MAJOR_VERSION}::Svg
Qt${QT_MAJOR_VERSION}::Gui
Qt${QT_MAJOR_VERSION}::Concurrent
KF5::Crash
KF5::Solid
KF5::WidgetsAddons
......
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