Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
Kigo
Commits
d4d5aab4
Commit
d4d5aab4
authored
Jan 03, 2022
by
Laurent Montel
Browse files
Adapt build system for compiling against qt6
parent
0bd91985
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
d4d5aab4
...
...
@@ -13,7 +13,7 @@ set(KIGO_VERSION "${KIGO_BASE_VERSION}.${RELEASE_SERVICE_COMPACT_VERSION}")
project
(
kigo VERSION
${
KIGO_VERSION
}
)
set
(
QT_MIN_VERSION
"5.15.0"
)
set
(
KF5_MIN_VERSION
"5.
85
.0"
)
set
(
KF5_MIN_VERSION
"5.
90
.0"
)
find_package
(
ECM
${
KF5_MIN_VERSION
}
REQUIRED CONFIG
)
set
(
CMAKE_MODULE_PATH
${
CMAKE_MODULE_PATH
}
${
ECM_MODULE_PATH
}
)
...
...
@@ -28,7 +28,8 @@ include(ECMQtDeclareLoggingCategory)
include
(
ECMSetupVersion
)
include
(
FeatureSummary
)
find_package
(
Qt5
${
QT_MIN_VERSION
}
REQUIRED NO_MODULE COMPONENTS Widgets Svg
)
find_package
(
Qt
${
QT_MAJOR_VERSION
}
${
QT_MIN_VERSION
}
REQUIRED NO_MODULE COMPONENTS Widgets Svg
)
find_package
(
Qt
${
QT_MAJOR_VERSION
}
QuickWidgets
${
REQUIRED_QT_VERSION
}
CONFIG
)
find_package
(
KF5
${
KF5_MIN_VERSION
}
REQUIRED COMPONENTS
CoreAddons
Config
...
...
src/CMakeLists.txt
View file @
d4d5aab4
...
...
@@ -66,7 +66,7 @@ target_link_libraries(kigo
KF5::NewStuff
KF5::DBusAddons
KF5::Crash
Qt
5
::Svg
Qt
${
QT_MAJOR_VERSION
}
::Svg
)
install
(
TARGETS kigo
${
KDE_INSTALL_TARGETS_DEFAULT_ARGS
}
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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