From 27604c5152cd9b768c31cbb1947e0138cea2c484 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周三, 13 12月 2023 23:35:11 +0800 Subject: [PATCH] Remove qwkcoreglobal --- src/core/qwkglobal.h | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/core/qwkglobal.h b/src/core/qwkglobal.h index fb15d4f..20cba76 100644 --- a/src/core/qwkglobal.h +++ b/src/core/qwkglobal.h @@ -2,8 +2,19 @@ #define QWKGLOBAL_H #include <QtCore/QEvent> +#include <QtGui/QtEvents> -#include <QWKCore/qwkcoreglobal.h> +#ifndef QWK_CORE_EXPORT +# ifdef QWK_CORE_STATIC +# define QWK_CORE_EXPORT +# else +# ifdef QWK_CORE_LIBRARY +# define QWK_CORE_EXPORT Q_DECL_EXPORT +# else +# define QWK_CORE_EXPORT Q_DECL_IMPORT +# endif +# endif +#endif #if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)) using QT_NATIVE_EVENT_RESULT_TYPE = qintptr; -- Gitblit v1.9.1