forked from qt-creator/qt-creator
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:
@@ -8,7 +8,7 @@
|
||||
#include <QCursor>
|
||||
#include <QGuiApplication>
|
||||
#include <QMainWindow>
|
||||
#include <QRect>
|
||||
#include <QQmlEngine>
|
||||
#include <QScreen>
|
||||
#include <QWindow>
|
||||
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user