diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp index af08d76e7ae..5e7c2a574c8 100644 --- a/src/gui/kernel/qevent.cpp +++ b/src/gui/kernel/qevent.cpp @@ -44,6 +44,7 @@ #include "private/qpointingdevice_p.h" #include "qpa/qplatformintegration.h" #include "private/qevent_p.h" +#include "private/qeventpoint_p.h" #include "qfile.h" #include "qhashfunctions.h" #include "qmetaobject.h" diff --git a/src/gui/kernel/qevent_p.h b/src/gui/kernel/qevent_p.h index cd25f6f174b..6b8e3ef3375 100644 --- a/src/gui/kernel/qevent_p.h +++ b/src/gui/kernel/qevent_p.h @@ -52,7 +52,6 @@ // #include -#include #include #include #include diff --git a/src/gui/kernel/qguiapplication.cpp b/src/gui/kernel/qguiapplication.cpp index 51de8580f75..313f1bcb54e 100644 --- a/src/gui/kernel/qguiapplication.cpp +++ b/src/gui/kernel/qguiapplication.cpp @@ -44,6 +44,7 @@ #include "private/qabstractfileiconprovider_p.h" #include #include "private/qevent_p.h" +#include "private/qeventpoint_p.h" #include "qfont.h" #include "qpointingdevice.h" #include diff --git a/src/gui/kernel/qpointingdevice.cpp b/src/gui/kernel/qpointingdevice.cpp index e9ff3fc7852..b6d94218972 100644 --- a/src/gui/kernel/qpointingdevice.cpp +++ b/src/gui/kernel/qpointingdevice.cpp @@ -40,6 +40,8 @@ #include "qpointingdevice.h" #include "qpointingdevice_p.h" #include "qwindowsysteminterface_p.h" +#include "qeventpoint_p.h" + #include #include #include diff --git a/src/gui/kernel/qtestsupport_gui.cpp b/src/gui/kernel/qtestsupport_gui.cpp index 41798d650d5..c594b243fc4 100644 --- a/src/gui/kernel/qtestsupport_gui.cpp +++ b/src/gui/kernel/qtestsupport_gui.cpp @@ -38,6 +38,7 @@ ****************************************************************************/ #include +#include #include diff --git a/src/gui/kernel/qwindowsysteminterface.cpp b/src/gui/kernel/qwindowsysteminterface.cpp index d4e7c5553a0..d66cefb2a97 100644 --- a/src/gui/kernel/qwindowsysteminterface.cpp +++ b/src/gui/kernel/qwindowsysteminterface.cpp @@ -41,6 +41,7 @@ #include "qwindowsysteminterface_p.h" #include "private/qguiapplication_p.h" #include "private/qevent_p.h" +#include "private/qeventpoint_p.h" #include "private/qpointingdevice_p.h" #include #include diff --git a/src/widgets/graphicsview/qgraphicsscene.cpp b/src/widgets/graphicsview/qgraphicsscene.cpp index 5e30f114ebd..f41ced1a382 100644 --- a/src/widgets/graphicsview/qgraphicsscene.cpp +++ b/src/widgets/graphicsview/qgraphicsscene.cpp @@ -244,6 +244,7 @@ #include #include #include +#include #include #if QT_CONFIG(graphicseffect) #include diff --git a/src/widgets/graphicsview/qgraphicsview.cpp b/src/widgets/graphicsview/qgraphicsview.cpp index 1a147e5e40f..df5a2756168 100644 --- a/src/widgets/graphicsview/qgraphicsview.cpp +++ b/src/widgets/graphicsview/qgraphicsview.cpp @@ -294,6 +294,7 @@ static const int QGRAPHICSVIEW_PREALLOC_STYLE_OPTIONS = 503; // largest prime < #include #include +#include QT_BEGIN_NAMESPACE diff --git a/src/widgets/kernel/qapplication.cpp b/src/widgets/kernel/qapplication.cpp index 75ffa471cc0..f3deab05a12 100644 --- a/src/widgets/kernel/qapplication.cpp +++ b/src/widgets/kernel/qapplication.cpp @@ -92,6 +92,7 @@ #include #include +#include #include #if QT_CONFIG(action) #include diff --git a/src/widgets/kernel/qtestsupport_widgets.cpp b/src/widgets/kernel/qtestsupport_widgets.cpp index 9c5603fc5a8..acc69d098c4 100644 --- a/src/widgets/kernel/qtestsupport_widgets.cpp +++ b/src/widgets/kernel/qtestsupport_widgets.cpp @@ -46,6 +46,7 @@ #include #include #include +#include QT_BEGIN_NAMESPACE diff --git a/tests/auto/gui/kernel/qtouchevent/tst_qtouchevent.cpp b/tests/auto/gui/kernel/qtouchevent/tst_qtouchevent.cpp index df4e8bd87df..850b4522bd5 100644 --- a/tests/auto/gui/kernel/qtouchevent/tst_qtouchevent.cpp +++ b/tests/auto/gui/kernel/qtouchevent/tst_qtouchevent.cpp @@ -37,6 +37,7 @@ #include #include #include +#include #include #include diff --git a/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp b/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp index 5da8ede743b..eb34e6574d6 100644 --- a/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp +++ b/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp @@ -63,6 +63,8 @@ #include #include +#include + using AbstractGraphicsShapeItemPtr = QSharedPointer; using GraphicsItems = QList; using GraphicsItemsList = QList; diff --git a/tests/auto/widgets/util/qscroller/tst_qscroller.cpp b/tests/auto/widgets/util/qscroller/tst_qscroller.cpp index 232b8084cda..82917a8863f 100644 --- a/tests/auto/widgets/util/qscroller/tst_qscroller.cpp +++ b/tests/auto/widgets/util/qscroller/tst_qscroller.cpp @@ -30,6 +30,7 @@ #include #include #include +#include #include // #include