From e71904e231e27e6f6f88b35c4a7e2d7cf8ba2640 Mon Sep 17 00:00:00 2001 From: Kent Hansen Date: Tue, 16 Aug 2011 14:00:13 +0200 Subject: Remove V8 submodule from QtDeclarative QtDeclarative should now link against the QtV8 library from qtbase. The patch files have been moved to qtbase as well. Applications that use the QtDeclarative private headers may need to add the following to their .pro file: QT += v8-private This ensures that is found, which is (indirectly) included by many QtDeclarative private headers. Task-number: QTBUG-20963 Change-Id: I31e973a6fcc0c416d3b258a61c26564cee3dcd4b Reviewed-on: http://codereview.qt.nokia.com/3093 Reviewed-by: Qt Sanity Bot Reviewed-by: Kent Hansen --- src/imports/gestures/gestures.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/imports/gestures') diff --git a/src/imports/gestures/gestures.pro b/src/imports/gestures/gestures.pro index d94b402f4c..45483fc810 100644 --- a/src/imports/gestures/gestures.pro +++ b/src/imports/gestures/gestures.pro @@ -2,7 +2,7 @@ TARGET = qmlgesturesplugin TARGETPATH = Qt/labs/gestures include(../qimportbase.pri) -QT += core-private gui-private declarative-private qtquick1 qtquick1-private +QT += core-private gui-private v8-private declarative-private qtquick1 qtquick1-private SOURCES += qdeclarativegesturearea.cpp plugin.cpp HEADERS += qdeclarativegesturearea_p.h -- cgit v1.2.3 From ee84bb67a2f90038d1f3462cb9141dffbfa9517b Mon Sep 17 00:00:00 2001 From: Aaron Kennedy Date: Tue, 23 Aug 2011 11:41:50 +1000 Subject: Move all QML file parsing into the QDeclarativeScript namespace Change-Id: I5969686a796cbfb2eeb3729014df7f01e51b0620 Reviewed-on: http://codereview.qt.nokia.com/3797 Reviewed-by: Roberto Raggi --- src/imports/gestures/qdeclarativegesturearea.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/imports/gestures') diff --git a/src/imports/gestures/qdeclarativegesturearea.cpp b/src/imports/gestures/qdeclarativegesturearea.cpp index c0d88a3318..1631831c7f 100644 --- a/src/imports/gestures/qdeclarativegesturearea.cpp +++ b/src/imports/gestures/qdeclarativegesturearea.cpp @@ -46,6 +46,7 @@ #include #include +#include #include #include @@ -196,7 +197,7 @@ QDeclarativeGestureAreaParser::compile(const QList(value); + QDeclarativeScript::Variant v = qvariant_cast(value); if (v.isScript()) { ds << propName; ds << int(type); -- cgit v1.2.3