From 9619357769518e277237812e82d7c32d38cb20e6 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周日, 17 12月 2023 00:23:05 +0800 Subject: [PATCH] Optimize Qt and Cocoa context --- src/quick/qwkquickglobal.h | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/quick/qwkquickglobal.h b/src/quick/qwkquickglobal.h index a5c613e..cfec206 100644 --- a/src/quick/qwkquickglobal.h +++ b/src/quick/qwkquickglobal.h @@ -15,4 +15,14 @@ # endif #endif +QT_BEGIN_NAMESPACE +class QQmlEngine; +QT_END_NAMESPACE + +namespace QWK { + + QWK_QUICK_EXPORT void registerTypes(QQmlEngine *engine); + +} + #endif // QWKQUICKGLOBAL_H -- Gitblit v1.9.1