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
45eecac2
Commit
45eecac2
authored
Sep 15, 2020
by
Friedrich W. H. Kossebau
Browse files
Enforce more modern Qt/KF code
GIT_SILENT
parent
4065d078
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
45eecac2
...
...
@@ -42,6 +42,12 @@ ecm_setup_version(${libkmahjongg_VERSION}
add_definitions
(
-DTRANSLATION_DOMAIN=
"libkmahjongg5"
)
add_definitions
(
-DQT_NO_KEYWORDS
-DQT_STRICT_ITERATORS
-DQT_DISABLE_DEPRECATED_BEFORE=0x050900
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x052E00
)
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