From 8209cdfb1d85a40cc770f854d773c3a10f5ab576 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周三, 20 12月 2023 17:32:57 +0800 Subject: [PATCH] Add hot-switch to agent --- src/quick/qwkquickglobal.h | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/quick/qwkquickglobal.h b/src/quick/qwkquickglobal.h index 8d79cb7..cfec206 100644 --- a/src/quick/qwkquickglobal.h +++ b/src/quick/qwkquickglobal.h @@ -1,7 +1,7 @@ #ifndef QWKQUICKGLOBAL_H #define QWKQUICKGLOBAL_H -#include <QtGlobal> +#include <QtCore/QtGlobal> #ifndef QWK_QUICK_EXPORT # ifdef QWK_QUICK_STATIC @@ -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