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
Plasma
KMenuEdit
Commits
e632cd94
Commit
e632cd94
authored
Apr 19, 2020
by
David Faure
Browse files
Remove too strict Qt/KF5 deprecation rule
parent
e68981cb
Changes
1
Show whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
e632cd94
...
@@ -37,11 +37,6 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
...
@@ -37,11 +37,6 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
GlobalAccel
GlobalAccel
)
)
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/.git"
)
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x060000
)
add_definitions
(
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054200
)
endif
()
#add_definitions(-DQT_NO_CAST_FROM_ASCII -DQT_STRICT_ITERATORS -DQT_NO_CAST_FROM_BYTEARRAY)
#add_definitions(-DQT_NO_CAST_FROM_ASCII -DQT_STRICT_ITERATORS -DQT_NO_CAST_FROM_BYTEARRAY)
add_definitions
(
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY
)
add_definitions
(
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY
)
...
...
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