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
Utilities
KFloppy
Commits
4f4fae8e
Commit
4f4fae8e
authored
Feb 25, 2022
by
Laurent Montel
Browse files
USe new ecm_set_disabled_deprecation_versions
parent
89398ec0
Pipeline
#142034
passed with stage
in 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
4f4fae8e
...
...
@@ -12,7 +12,7 @@ if(NOT UNIX)
message
(
FATAL_ERROR
"KFloppy is only supposed to be built on Unix platforms."
)
endif
(
NOT UNIX
)
set
(
KF5_MIN_VERSION
"5.
85
.0"
)
set
(
KF5_MIN_VERSION
"5.
91
.0"
)
set
(
REQUIRED_QT_VERSION
"5.15.0"
)
find_package
(
ECM
${
KF5_MIN_VERSION
}
REQUIRED NO_MODULE
)
...
...
@@ -26,6 +26,7 @@ include(ECMInstallIcons)
include
(
ECMQtDeclareLoggingCategory
)
include
(
KDEGitCommitHooks
)
include
(
KDEClangFormat
)
include
(
ECMDeprecationSettings
)
file
(
GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h *.c
)
kde_clang_format
(
${
ALL_CLANG_FORMAT_SOURCE_FILES
}
)
...
...
@@ -39,8 +40,10 @@ set_package_properties(KF5DocTools PROPERTIES DESCRIPTION
)
find_package
(
KF5Crash
${
KF5_MIN_VERSION
}
CONFIG REQUIRED
)
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00
)
add_definitions
(
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055A00
)
ecm_set_disabled_deprecation_versions
(
QT 5.15.2
KF 5.91
)
add_executable
(
kfloppy
)
target_sources
(
kfloppy PRIVATE main.cpp format.cpp floppy.cpp
)
...
...
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