From 2d2fc799bc698ebf7e7c8bcc394366d0d7bf071b Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周二, 20 2月 2024 18:18:39 +0800 Subject: [PATCH] Partially finish the bug after window close and reshow --- src/quick/qwkquickglobal.h | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/src/quick/qwkquickglobal.h b/src/quick/qwkquickglobal.h index 8d79cb7..8020038 100644 --- a/src/quick/qwkquickglobal.h +++ b/src/quick/qwkquickglobal.h @@ -1,7 +1,11 @@ +// Copyright (C) 2023-2024 Stdware Collections (https://www.github.com/stdware) +// Copyright (C) 2021-2023 wangwenx190 (Yuhang Zhao) +// SPDX-License-Identifier: Apache-2.0 + #ifndef QWKQUICKGLOBAL_H #define QWKQUICKGLOBAL_H -#include <QtGlobal> +#include <QtCore/QtGlobal> #ifndef QWK_QUICK_EXPORT # ifdef QWK_QUICK_STATIC @@ -15,4 +19,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