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
Graphics
Kamera
Commits
e105e3d1
Commit
e105e3d1
authored
Feb 17, 2022
by
Laurent Montel
😁
Browse files
Use new macro ecm_set_disabled_deprecation_versions
parent
b5651698
Pipeline
#139195
passed with stage
in 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
e105e3d1
...
...
@@ -8,7 +8,7 @@ set (RELEASE_SERVICE_VERSION_MICRO "70")
set
(
RELEASE_SERVICE_VERSION
"
${
RELEASE_SERVICE_VERSION_MAJOR
}
.
${
RELEASE_SERVICE_VERSION_MINOR
}
.
${
RELEASE_SERVICE_VERSION_MICRO
}
"
)
set
(
PROJECT_VERSION
${
RELEASE_SERVICE_VERSION
}
)
set
(
KF5_MIN_VERSION
"5.9
0
.0"
)
set
(
KF5_MIN_VERSION
"5.9
1
.0"
)
find_package
(
ECM
${
KF5_MIN_VERSION
}
REQUIRED NO_MODULE
)
set
(
CMAKE_MODULE_PATH
${
ECM_MODULE_PATH
}
${
CMAKE_SOURCE_DIR
}
)
include
(
KDEInstallDirs
)
...
...
@@ -16,6 +16,7 @@ include(KDECMakeSettings)
include
(
KDECompilerSettings
)
include
(
FindPkgConfig
)
include
(
FeatureSummary
)
include
(
ECMDeprecationSettings
)
find_package
(
Qt
${
QT_MAJOR_VERSION
}
5.15 REQUIRED COMPONENTS Core
)
...
...
@@ -62,13 +63,12 @@ configure_file(config-kamera.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kamera.h
set
(
CMAKE_CXX_FLAGS_DEBUG,
"
${
CMAKE_CXX_FLAGS_DEBUG
}
-Wall -Wunused -Wextra"
)
remove_definitions
(
-DQT_NO_CAST_FROM_ASCII
)
remove_definitions
(
-DQT_NO_CAST_FROM_BYTEARRAY
)
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x050F00
-DQT_DEPRECATED_WARNINGS_SINCE=0x060000
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055800
-DKF_DEPRECATED_WARNINGS_SINCE=0x060000
ecm_set_disabled_deprecation_versions
(
QT 5.15.2
KF 5.91.0
)
add_subdirectory
(
kcontrol
)
add_subdirectory
(
kioslave
)
...
...
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