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
Education
KHangMan
Commits
086cfe86
Commit
086cfe86
authored
Jan 04, 2022
by
Laurent Montel
Browse files
Adapt build system for building against qt6
parent
97988072
Pipeline
#118266
passed with stage
in 38 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
086cfe86
...
...
@@ -11,9 +11,6 @@ set(KF5_MIN_VERSION "5.82.0")
project
(
khangman VERSION
${
RELEASE_SERVICE_VERSION
}
)
include
(
FeatureSummary
)
find_package
(
Qt5
${
QT_MIN_VERSION
}
REQUIRED COMPONENTS Core Qml Quick QuickWidgets Svg
)
find_package
(
ECM
${
KF5_MIN_VERSION
}
NO_MODULE REQUIRED
)
set
(
CMAKE_MODULE_PATH
${
CMAKE_MODULE_PATH
}
${
ECM_MODULE_PATH
}
)
...
...
@@ -25,7 +22,11 @@ include(GenerateExportHeader)
include
(
ECMAddAppIcon
)
include
(
ECMSetupVersion
)
find_package
(
KF5 5.81.0 REQUIRED COMPONENTS
include
(
FeatureSummary
)
find_package
(
Qt
${
QT_MAJOR_VERSION
}
${
QT_MIN_VERSION
}
REQUIRED COMPONENTS Core Qml Quick QuickWidgets Svg
)
find_package
(
KF5
${
KF5_MIN_VERSION
}
REQUIRED COMPONENTS
I18n
Crash
Completion
...
...
src/CMakeLists.txt
View file @
086cfe86
...
...
@@ -22,8 +22,8 @@ kconfig_add_kcfg_files(khangman prefs.kcfgc)
# generate_export_header(khangman BASE_NAME KHANGMAN)
target_link_libraries
(
khangman
Qt
5
::QuickWidgets
Qt
5
::Core
Qt
${
QT_MAJOR_VERSION
}
::QuickWidgets
Qt
${
QT_MAJOR_VERSION
}
::Core
KF5::Crash
KF5::I18n
KF5::NewStuff
...
...
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