Commit 45eecac2 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Enforce more modern Qt/KF code

GIT_SILENT
parent 4065d078
......@@ -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")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment