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
Utilities
KDiskFree
Commits
a46f0e6e
Commit
a46f0e6e
authored
Feb 22, 2022
by
Laurent Montel
😁
Browse files
USe ecm_set_disabled_deprecation_versions
parent
8a41e0a2
Pipeline
#141188
passed with stage
in 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
a46f0e6e
...
...
@@ -13,7 +13,7 @@ if(NOT UNIX)
endif
(
NOT UNIX
)
set
(
QT_MIN_VERSION
"5.15.0"
)
set
(
KF5_MIN_VERSION
"5.9
0
.0"
)
set
(
KF5_MIN_VERSION
"5.9
1
.0"
)
find_package
(
ECM
${
KF5_MIN_VERSION
}
CONFIG REQUIRED
)
set
(
CMAKE_MODULE_PATH
${
ECM_MODULE_PATH
}
${
CMAKE_SOURCE_DIR
}
/cmake
)
...
...
@@ -27,6 +27,8 @@ include(FeatureSummary)
include
(
KDEInstallDirs
)
include
(
KDECMakeSettings
)
include
(
KDECompilerSettings NO_POLICY_SCOPE
)
include
(
ECMDeprecationSettings
)
ecm_setup_version
(
${
RELEASE_SERVICE_VERSION
}
VARIABLE_PREFIX KDF
VERSION_HEADER
"
${
CMAKE_CURRENT_BINARY_DIR
}
/src/kdf_version.h"
...
...
@@ -59,11 +61,8 @@ set_package_properties(KF5DocTools PROPERTIES DESCRIPTION
TYPE OPTIONAL
)
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x050F00
-DQT_DEPRECATED_WARNINGS_SINCE=0x060000
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055900
-DKF_DEPRECATED_WARNINGS_SINCE=0x060000
ecm_set_disabled_deprecation_versions
(
QT 5.15.2
KF 5.91
)
if
(
CMAKE_UNITY_BUILD
)
...
...
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