From 0b768e3c43887fe35c2df4ca4263f54ebb7fec9d Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 4 Nov 2021 14:57:06 +0100 Subject: [PATCH] Include qproperty.h where needed Don't rely on transitive include from qobject.h, which will go away. Change-Id: I99dd97ff4fb1d0632d040daab0bffa2d7b85d3ae Reviewed-by: Fabian Kosmale --- src/testlib/qpropertytesthelper_p.h | 1 + .../qsequentialanimationgroup/tst_qsequentialanimationgroup.cpp | 1 + tests/auto/corelib/kernel/qobject/tst_qobject.cpp | 1 + tests/auto/corelib/kernel/qtimer/tst_qtimer.cpp | 1 + tests/auto/gui/image/qmovie/tst_qmovie.cpp | 1 + 5 files changed, 5 insertions(+) diff --git a/src/testlib/qpropertytesthelper_p.h b/src/testlib/qpropertytesthelper_p.h index e81b145887c..45d665136d1 100644 --- a/src/testlib/qpropertytesthelper_p.h +++ b/src/testlib/qpropertytesthelper_p.h @@ -52,6 +52,7 @@ // #include +#include #include #include diff --git a/tests/auto/corelib/animation/qsequentialanimationgroup/tst_qsequentialanimationgroup.cpp b/tests/auto/corelib/animation/qsequentialanimationgroup/tst_qsequentialanimationgroup.cpp index 779b225bfbb..fbe3ffe4aeb 100644 --- a/tests/auto/corelib/animation/qsequentialanimationgroup/tst_qsequentialanimationgroup.cpp +++ b/tests/auto/corelib/animation/qsequentialanimationgroup/tst_qsequentialanimationgroup.cpp @@ -28,6 +28,7 @@ #include #include +#include #include #include #include diff --git a/tests/auto/corelib/kernel/qobject/tst_qobject.cpp b/tests/auto/corelib/kernel/qobject/tst_qobject.cpp index d5dbb7e1fc7..9c27824e369 100644 --- a/tests/auto/corelib/kernel/qobject/tst_qobject.cpp +++ b/tests/auto/corelib/kernel/qobject/tst_qobject.cpp @@ -40,6 +40,7 @@ #include #include +#include #include #include #include diff --git a/tests/auto/corelib/kernel/qtimer/tst_qtimer.cpp b/tests/auto/corelib/kernel/qtimer/tst_qtimer.cpp index 221d818c6bf..b3a500fbd87 100644 --- a/tests/auto/corelib/kernel/qtimer/tst_qtimer.cpp +++ b/tests/auto/corelib/kernel/qtimer/tst_qtimer.cpp @@ -40,6 +40,7 @@ #include #include #include +#include #if defined Q_OS_UNIX #include diff --git a/tests/auto/gui/image/qmovie/tst_qmovie.cpp b/tests/auto/gui/image/qmovie/tst_qmovie.cpp index c1abeccba5f..11592ffc2a5 100644 --- a/tests/auto/gui/image/qmovie/tst_qmovie.cpp +++ b/tests/auto/gui/image/qmovie/tst_qmovie.cpp @@ -36,6 +36,7 @@ #include #endif #include +#include class tst_QMovie : public QObject {