From 6fac43514f981bcb8dc847d1a87af6015494b13d Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Fri, 20 Dec 2024 13:58:40 +0100 Subject: [PATCH] QmlDesignerBase: Fix WindowManager includes In particular, include in the header, as moc needs the complete definition of Q_INVOKABLE return types. Change-Id: Ied1b0df4b32d4a1f6fe37f672deca80976ab00f3 Reviewed-by: Fabian Kosmale --- src/plugins/qmldesignerbase/utils/windowmanager.cpp | 2 +- src/plugins/qmldesignerbase/utils/windowmanager.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/qmldesignerbase/utils/windowmanager.cpp b/src/plugins/qmldesignerbase/utils/windowmanager.cpp index 6c427fe63fe..a254da69ab0 100644 --- a/src/plugins/qmldesignerbase/utils/windowmanager.cpp +++ b/src/plugins/qmldesignerbase/utils/windowmanager.cpp @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/plugins/qmldesignerbase/utils/windowmanager.h b/src/plugins/qmldesignerbase/utils/windowmanager.h index 11f4522102f..1e74c721bc6 100644 --- a/src/plugins/qmldesignerbase/utils/windowmanager.h +++ b/src/plugins/qmldesignerbase/utils/windowmanager.h @@ -5,10 +5,10 @@ #include "../qmldesignerbase_global.h" +#include #include -#include +#include -QT_FORWARD_DECLARE_CLASS(QRect) QT_FORWARD_DECLARE_CLASS(QWindow) namespace QmlDesigner {