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
PIM
KAlarm
Commits
d6b4e7d3
Commit
d6b4e7d3
authored
Oct 23, 2019
by
Laurent Montel
😁
Browse files
Make it compile without kf5 deprecated methods
parent
dccd49c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
d6b4e7d3
...
...
@@ -49,6 +49,7 @@ find_package(KF5CalendarUtils ${CALENDARUTILS_LIB_VERSION} CONFIG REQUIRED)
add_definitions
(
-DQT_NO_FOREACH
)
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/.git"
)
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x060000
)
add_definitions
(
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000
)
endif
()
########### Targets ###########
...
...
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