aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmldata_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmldata_p.h')
-rw-r--r--src/qml/qml/qqmldata_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qml/qml/qqmldata_p.h b/src/qml/qml/qqmldata_p.h
index 14f1fef90a..096e358a73 100644
--- a/src/qml/qml/qqmldata_p.h
+++ b/src/qml/qml/qqmldata_p.h
@@ -57,6 +57,8 @@
#include <private/qobject_p.h>
#include <private/qv8_p.h>
+#include <private/qv4value_p.h>
+
QT_BEGIN_NAMESPACE
template <class Key, class T> class QHash;
@@ -177,7 +179,7 @@ public:
unsigned int deferredIdx;
quint32 v8objectid;
- v8::Persistent<v8::Object> v8object;
+ QV4::PersistentValue v8object;
QQmlPropertyCache *propertyCache;