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 |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/src/core/qwkglobal.h b/src/core/qwkglobal.h
index f5e0fb3..20cba76 100644
--- a/src/core/qwkglobal.h
+++ b/src/core/qwkglobal.h
@@ -4,7 +4,17 @@
 #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