summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2021-11-08 19:58:31 +0100
committerMarc Mutz <marc.mutz@qt.io>2021-11-08 21:48:08 +0100
commitf8aa8116eea578d552b69120e8a7271fe8c7a8fb (patch)
treec041489c3128132746d277f104112e0f08750c6e
parentf37e8ca1cafbd984cb80231003fc7df70cf0ef6a (diff)
downloadqtwebchannel-f8aa8116eea578d552b69120e8a7271fe8c7a8fb.tar.gz
Include <QProperty> explicitly
Don't rely on the transitive include of qproperty.h by qobject.h. Pick-to: 6.2 Change-Id: I180394ed09dae1bd3106171c17dbe035f6328806 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
-rw-r--r--src/webchannel/qmetaobjectpublisher_p.h1
-rw-r--r--tests/auto/qml/testobject.h1
-rw-r--r--tests/auto/webchannel/tst_webchannel.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/webchannel/qmetaobjectpublisher_p.h b/src/webchannel/qmetaobjectpublisher_p.h
index a84eb52..2d25511 100644
--- a/src/webchannel/qmetaobjectpublisher_p.h
+++ b/src/webchannel/qmetaobjectpublisher_p.h
@@ -58,6 +58,7 @@
#include <QMetaObject>
#include <QBasicTimer>
#include <QPointer>
+#include <QProperty>
#include <QJsonObject>
#include <QQueue>
diff --git a/tests/auto/qml/testobject.h b/tests/auto/qml/testobject.h
index 07eaec8..f6dea1b 100644
--- a/tests/auto/qml/testobject.h
+++ b/tests/auto/qml/testobject.h
@@ -31,6 +31,7 @@
#define TESTOBJECT_H
#include <QObject>
+#include <QProperty>
#include <QVariantMap>
QT_BEGIN_NAMESPACE
diff --git a/tests/auto/webchannel/tst_webchannel.h b/tests/auto/webchannel/tst_webchannel.h
index c7b0a0e..639d38f 100644
--- a/tests/auto/webchannel/tst_webchannel.h
+++ b/tests/auto/webchannel/tst_webchannel.h
@@ -31,6 +31,7 @@
#define TST_WEBCHANNEL_H
#include <QObject>
+#include <QProperty>
#include <QVariant>
#include <QList>
#include <QJsonValue>