Commit 1a1c27c5 authored by Laurent Montel's avatar Laurent Montel 😁

Check version of kconfig

parent a0de085d
......@@ -24,7 +24,6 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
WidgetsAddons
ItemViews
Completion)
include(FeatureSummary)
include(ECMAddAppIcon)
include(ECMInstallIcons)
......@@ -37,7 +36,10 @@ include(ECMQtDeclareLoggingCategory)
add_definitions(-DTRANSLATION_DOMAIN="kdebugsettings")
add_definitions( -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 )
add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT)
add_definitions(-DQT_NO_FOREACH)
if (${KF5Config_VERSION} STRGREATER "5.55.0")
add_definitions(-DQT_NO_FOREACH)
MESSAGE(STATUS "compile without foreach")
endif()
......
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