From 5e12d4d4f27e4ce27a8c9e6145bc6e45840e00f2 Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周日, 17 12月 2023 15:11:48 +0800 Subject: [PATCH] Add qmake and msbuild config files --- 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