Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
Knights
Commits
964a0bb5
Commit
964a0bb5
authored
Jan 03, 2022
by
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
964a0bb5
...
...
@@ -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.
8
9.0"
)
set
(
KF5_MIN_VERSION
"5.9
0
.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=0x055
2
00
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055
9
00
-DKF_DEPRECATED_WARNINGS_SINCE=0x060000
)
...
...
src/CMakeLists.txt
View file @
964a0bb5
...
...
@@ -69,10 +69,10 @@ if (Qt5TextToSpeech_FOUND)
endif
()
target_link_libraries
(
knights
Qt
5
::Network
Qt
5
::Svg
Qt
5
::Gui
Qt
5
::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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment