aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/v4/qv4compiler_p.h
diff options
context:
space:
mode:
authorMatthew Vogt <matthew.vogt@nokia.com>2012-04-16 16:51:23 +1000
committerQt by Nokia <qt-info@nokia.com>2012-04-24 00:32:45 +0200
commita36f220e1554c15c4a5808479a4af90b39075e6a (patch)
tree9fce48af39873c608157158932c2e4979a6773ed /src/qml/qml/v4/qv4compiler_p.h
parent6a815193c7515dc8282aae08b3b78203d5cfbc1f (diff)
Add support for var properties in V4
Support initialization of var properties in V4. Var properties, which can only be manipulated by V8, are constructed directly into the form in which they will be stored. Task-number: QTBUG-25022 Change-Id: I27c6af9f8a310e7baec91bef2593c8518ec1e462 Reviewed-by: Chris Adams <christopher.adams@nokia.com> Reviewed-by: Michael Brasser <michael.brasser@nokia.com> Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/qml/qml/v4/qv4compiler_p.h')
-rw-r--r--src/qml/qml/v4/qv4compiler_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qml/qml/v4/qv4compiler_p.h b/src/qml/qml/v4/qv4compiler_p.h
index a93248ad14..cf0d51914b 100644
--- a/src/qml/qml/v4/qv4compiler_p.h
+++ b/src/qml/qml/v4/qv4compiler_p.h
@@ -57,6 +57,10 @@
#include <private/qqmlbinding_p.h>
#include <private/qqmlcompiler_p.h>
+#include <private/qv8_p.h>
+
+Q_DECLARE_METATYPE(v8::Handle<v8::Value>)
+
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE