From 6f8e9ff84b959ba763fcff18f0c519075ea1df03 Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Sat, 4 Jun 2022 00:54:12 +0200 Subject: ECMQtDeclareLoggingCategory: drop support for Qt < 5.4 Given ECM is released tightly bundled with KF, which itself requires Qt 5.15 now, and no Linux distribution is known by repology.org which ships older Qt, but current ECM, that support is considered of no more use. --- modules/ECMQtDeclareLoggingCategory.cpp.in | 4 ---- 1 file changed, 4 deletions(-) (limited to 'modules') diff --git a/modules/ECMQtDeclareLoggingCategory.cpp.in b/modules/ECMQtDeclareLoggingCategory.cpp.in index 0e69ba98..46134478 100644 --- a/modules/ECMQtDeclareLoggingCategory.cpp.in +++ b/modules/ECMQtDeclareLoggingCategory.cpp.in @@ -3,9 +3,5 @@ #include "@HEADER_NAME@" @OPEN_NAMESPACES@ -#if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0) Q_LOGGING_CATEGORY(@IDENTIFIER@, "@ARG_CATEGORY_NAME@", Qt@ARG_DEFAULT_SEVERITY@Msg) -#else -Q_LOGGING_CATEGORY(@IDENTIFIER@, "@ARG_CATEGORY_NAME@") -#endif @CLOSE_NAMESPACES@ -- cgit v1.2.1