QmlDesignerBase: Fix WindowManager includes

In particular, include <QRect> in the header, as moc needs the complete
definition of Q_INVOKABLE return types.

Change-Id: Ied1b0df4b32d4a1f6fe37f672deca80976ab00f3
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
Christian Kandeler
2024-12-20 13:58:40 +01:00
parent d16474ae80
commit 6fac43514f
2 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
#include <QCursor>
#include <QGuiApplication>
#include <QMainWindow>
#include <QRect>
#include <QQmlEngine>
#include <QScreen>
#include <QWindow>

View File

@@ -5,10 +5,10 @@
#include "../qmldesignerbase_global.h"
#include <QObject>
#include <QPoint>
#include <QtQml/qqml.h>
#include <QRect>
QT_FORWARD_DECLARE_CLASS(QRect)
QT_FORWARD_DECLARE_CLASS(QWindow)
namespace QmlDesigner {