aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2021-11-05 12:39:52 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2021-11-05 14:58:51 +0100
commit96b1fef1ec963717a3349b96cafcc93d85a3ab27 (patch)
tree2da99ab743e19f635c9f2a1eee76b7d608665e35
parentbfb07e39bb422ac71dc73945ece4fe2537b71f5a (diff)
Explicitly include qpropery.h in tests
We do not want to rely on the implicit import via qobject.h Pick-to: 6.2 Change-Id: Ia6e5a601aa65b55c1edb886c667446f85736fc72 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
-rw-r--r--tests/auto/qml/qmlbasicapp/TimeExample/timemodel.h1
-rw-r--r--tests/auto/qml/qqmlanybinding/withbindable.h1
-rw-r--r--tests/auto/qml/qqmlbinding/WithBindableProperties.h1
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