diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-11-05 12:39:52 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-11-05 16:39:39 +0000 |
commit | af2e62f0ba6483e8e575fa7ffa6b0188efe6ff58 (patch) | |
tree | 733a43f5f51c613da451634bac2166d107a8bce0 | |
parent | 1de8bab97b07addff59206b9e21d3d23f7da34db (diff) |
Explicitly include qpropery.h in tests
We do not want to rely on the implicit import via qobject.h
Change-Id: Ia6e5a601aa65b55c1edb886c667446f85736fc72
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 96b1fef1ec963717a3349b96cafcc93d85a3ab27)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | tests/auto/qml/qmlbasicapp/TimeExample/timemodel.h | 1 | ||||
-rw-r--r-- | tests/auto/qml/qqmlanybinding/withbindable.h | 1 | ||||
-rw-r--r-- | tests/auto/qml/qqmlbinding/WithBindableProperties.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlbasicapp/TimeExample/timemodel.h b/tests/auto/qml/qmlbasicapp/TimeExample/timemodel.h index 62827dac5e..75e7d3704c 100644 --- a/tests/auto/qml/qmlbasicapp/TimeExample/timemodel.h +++ b/tests/auto/qml/qmlbasicapp/TimeExample/timemodel.h @@ -55,6 +55,7 @@ #include <QtCore/qdatetime.h> #include <QtCore/qbasictimer.h> #include <QtCore/qcoreapplication.h> +#include <QtCore/qproperty.h> class TimeModel : public QObject { diff --git a/tests/auto/qml/qqmlanybinding/withbindable.h b/tests/auto/qml/qqmlanybinding/withbindable.h index 4488c0c350..be39d42eb7 100644 --- a/tests/auto/qml/qqmlanybinding/withbindable.h +++ b/tests/auto/qml/qqmlanybinding/withbindable.h @@ -29,6 +29,7 @@ #define WITH_BINDABLE_H #include <QObject> +#include <QtCore/qproperty.h> #include <qqml.h> class WithBinding : public QObject { diff --git a/tests/auto/qml/qqmlbinding/WithBindableProperties.h b/tests/auto/qml/qqmlbinding/WithBindableProperties.h index 562b445df7..7866504495 100644 --- a/tests/auto/qml/qqmlbinding/WithBindableProperties.h +++ b/tests/auto/qml/qqmlbinding/WithBindableProperties.h @@ -30,6 +30,7 @@ #include <QObject> #include <qqml.h> +#include <QtCore/qproperty.h> class WithBindableProperties : public QObject |