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
KReversi
Commits
090162d6
Commit
090162d6
authored
Dec 29, 2021
by
Laurent Montel
Browse files
Adapt build system for building against qt6
parent
05183343
Pipeline
#115737
passed with stage
in 39 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
090162d6
...
...
@@ -13,7 +13,7 @@ set(KREVERSI_VERSION "${KREVERSI_BASE_VERSION}.${RELEASE_SERVICE_COMPACT_VERSION
project
(
kreversi VERSION
${
KREVERSI_VERSION
}
)
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 NO_MODULE
)
set
(
CMAKE_MODULE_PATH
${
ECM_MODULE_PATH
}
)
...
...
@@ -27,7 +27,7 @@ include(ECMInstallIcons)
include
(
ECMSetupVersion
)
include
(
FeatureSummary
)
find_package
(
Qt
5
${
QT_MIN_VERSION
}
REQUIRED NO_MODULE COMPONENTS Widgets Qml Quick QuickWidgets Svg Test
)
find_package
(
Qt
${
QT_MAJOR_VERSION
}
${
QT_MIN_VERSION
}
REQUIRED NO_MODULE COMPONENTS Widgets Qml Quick QuickWidgets Svg Test
)
find_package
(
KF5
${
KF5_MIN_VERSION
}
REQUIRED COMPONENTS
Config
ConfigWidgets
...
...
sounds/CMakeLists.txt
View file @
090162d6
...
...
@@ -4,7 +4,7 @@
########### install files ###############
install
(
FILES kreversi.notifyrc DESTINATION
${
KDE_INSTALL_KNOTIFY
5
RCDIR
}
)
install
(
FILES kreversi.notifyrc DESTINATION
${
KDE_INSTALL_KNOTIFYRCDIR
}
)
install
(
FILES reversi-click.wav reversi-won.wav DESTINATION
${
KDE_INSTALL_DATADIR
}
/kreversi/sounds
)
...
...
src/CMakeLists.txt
View file @
090162d6
...
...
@@ -64,7 +64,7 @@ target_link_libraries(kreversi
KF5::KIOFileWidgets
KF5::WidgetsAddons
KF5::XmlGui
Qt::Svg
Qt
${
QT_MAJOR_VERSION
}
::Svg
)
install
(
TARGETS kreversi
${
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