Declare QJSValue as a metatype where it is defined.
authorStephen Kelly <stephen.kelly@kdab.com>
Tue, 4 Dec 2012 13:24:43 +0000 (14:24 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 4 Dec 2012 15:14:19 +0000 (16:14 +0100)
commit964d9496ad0cb9af5a75d3f2588ece3d6a5f9062
tree56001e211e2a38d58efc510daaf7a12fdd325875
parent4d6fcff41fa1bedd9f9af68a77ae56792d42d995
Declare QJSValue as a metatype where it is defined.

Instead of in multiple different TUs, therefore causing ODR violations.

Change-Id: I08d3624d3ed5a995e96488361665afa197fb9fc9
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
17 files changed:
src/qml/qml/qqmlcompiler.cpp
src/qml/qml/qqmlproperty.cpp
src/qml/qml/qqmlpropertycache.cpp
src/qml/qml/qqmlvmemetaobject.cpp
src/qml/qml/v4/qv4bindings.cpp
src/qml/qml/v4/qv4compiler.cpp
src/qml/qml/v4/qv4irbuilder.cpp
src/qml/qml/v8/qjsengine.cpp
src/qml/qml/v8/qjsvalue.h
src/qml/qml/v8/qv8engine.cpp
src/qml/qml/v8/qv8qobjectwrapper.cpp
tests/auto/qml/qjsvalue/tst_qjsvalue.h
tests/auto/qml/qjsvalueiterator/tst_qjsvalueiterator.cpp
tests/auto/qml/qqmlecmascript/testtypes.h
tests/auto/qml/qqmllanguage/testtypes.h
tests/benchmarks/qml/js/qjsengine/tst_qjsengine.cpp
tests/benchmarks/qml/js/qjsvalue/tst_qjsvalue.cpp