diff options
Diffstat (limited to 'src/core/GpgFrontendCore.h')
-rw-r--r-- | src/core/GpgFrontendCore.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/GpgFrontendCore.h b/src/core/GpgFrontendCore.h index 1d5ae29f..a632966e 100644 --- a/src/core/GpgFrontendCore.h +++ b/src/core/GpgFrontendCore.h @@ -46,10 +46,21 @@ Q_DECLARE_LOGGING_CATEGORY(core) #define LOG_E() qCCritical(core) #define LOG_F() qCFatal(core) +#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0) +#define LOG_F(...) qCFatal(core) +#else +#define LOG_F(...) qFatal() +#endif + #define FLOG_D(...) qCDebug(core, __VA_ARGS__) #define FLOG_I(...) qCInfo(core, __VA_ARGS__) #define FLOG_W(...) qCWarning(core, __VA_ARGS__) #define FLOG_E(...) qCCritical(core, __VA_ARGS__) + +#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0) #define FLOG_F(...) qCFatal(core, __VA_ARGS__) +#else +#define FLOG_F(...) qFatal(__VA_ARGS__) +#endif #endif
\ No newline at end of file |