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
Games
libkmahjongg
Commits
987399f0
Commit
987399f0
authored
Oct 22, 2019
by
Laurent Montel
Browse files
Make it compile without kf5 deprecated method
parent
b6048932
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
987399f0
...
...
@@ -36,6 +36,7 @@ include(ECMQtDeclareLoggingCategory)
add_definitions
(
-DTRANSLATION_DOMAIN=
"libkmahjongg5"
)
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x060000
)
add_definitions
(
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000
)
if
(
${
KF5Config_VERSION
}
STRGREATER
"5.56.0"
)
add_definitions
(
-DQT_NO_FOREACH
)
MESSAGE
(
STATUS
"compile without foreach"
)
...
...
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