From eb266da10552eeefcb0f7dfe514d4385aec563f8 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周日, 03 12月 2023 05:05:23 +0800 Subject: [PATCH] Add windows context implementation --- src/core/qwkcoreglobal.h | 12 +----------- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/src/core/qwkcoreglobal.h b/src/core/qwkcoreglobal.h index 517d91c..94982e6 100644 --- a/src/core/qwkcoreglobal.h +++ b/src/core/qwkcoreglobal.h @@ -1,7 +1,7 @@ #ifndef QWKCOREGLOBAL_H #define QWKCOREGLOBAL_H -#include <QtCore/QLoggingCategory> +#include <QtCore/QtGlobal> #ifndef QWK_CORE_EXPORT # ifdef QWK_CORE_STATIC @@ -13,16 +13,6 @@ # define QWK_CORE_EXPORT Q_DECL_IMPORT # endif # endif -#endif - -QWK_CORE_EXPORT Q_DECLARE_LOGGING_CATEGORY(qWindowKitLog) - -#define QWK_INFO qCInfo(qWindowKitLog) -#define QWK_DEBUG qCDebug(qWindowKitLog) -#define QWK_WARNING qCWarning(qWindowKitLog) -#define QWK_CRITICAL qCCritical(qWindowKitLog) -#if QT_VERSION >= QT_VERSION_CHECK(6, 6, 0) -# define QWK_FATAL qCFatal(qWindowKitLog) #endif #endif // QWKCOREGLOBAL_H -- Gitblit v1.9.1