Lazily create QMetaObjects
authorAaron Kennedy <aaron.kennedy@nokia.com>
Fri, 11 May 2012 11:01:41 +0000 (12:01 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 24 May 2012 10:52:43 +0000 (12:52 +0200)
commitd2e557c2c2d7fcf3bf7c1676df3902e115986dc2
tree65f47e443efa9635a2634880c01dc439817f9566
parent0a3ff88f851771e52d119fab90c0254de6950585
Lazily create QMetaObjects

For internal QML built types, creating a metaobject each time is
just wasteful.  Additionally, as the property caches were always
created from the intermediate QMetaObject, it was difficult to pass
information directly from the compiler to the property cache.

Change-Id: I769526b0edaaf16a86883f3065b75618b94e4077
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
58 files changed:
src/plugins/qmltooling/qmldbg_tcp/qmldbg_tcp.pro
src/qml/qml/ftw/ftw.pri
src/qml/qml/ftw/qfastmetabuilder.cpp [deleted file]
src/qml/qml/ftw/qfastmetabuilder_p.h [deleted file]
src/qml/qml/ftw/qhashedstring_p.h
src/qml/qml/qqmlboundsignal.cpp
src/qml/qml/qqmlboundsignal_p.h
src/qml/qml/qqmlcompileddata.cpp
src/qml/qml/qqmlcompiler.cpp
src/qml/qml/qqmlcompiler_p.h
src/qml/qml/qqmlengine.cpp
src/qml/qml/qqmlengine_p.h
src/qml/qml/qqmlglobal_p.h
src/qml/qml/qqmlinstruction.cpp
src/qml/qml/qqmlinstruction_p.h
src/qml/qml/qqmllist.cpp
src/qml/qml/qqmllist_p.h
src/qml/qml/qqmlproperty.cpp
src/qml/qml/qqmlproperty_p.h
src/qml/qml/qqmlpropertycache.cpp
src/qml/qml/qqmlpropertycache_p.h
src/qml/qml/qqmlscript.cpp
src/qml/qml/qqmlscript_p.h
src/qml/qml/qqmltypeloader.cpp
src/qml/qml/qqmltypeloader_p.h
src/qml/qml/qqmlvme.cpp
src/qml/qml/qqmlvmemetaobject.cpp
src/qml/qml/qqmlvmemetaobject_p.h
src/qml/qml/v4/qv4bindings.cpp
src/qml/qml/v4/qv4compiler.cpp
src/qml/qml/v4/qv4ir.cpp
src/qml/qml/v4/qv4ir_p.h
src/qml/qml/v4/qv4irbuilder.cpp
src/qml/qml/v8/qv8qobjectwrapper.cpp
src/quick/items/qquickborderimage.cpp
src/quick/items/qquickborderimage_p_p.h
src/quick/items/qquickflickable.cpp
src/quick/items/qquickitem.cpp
src/quick/items/qquickitemsmodule.cpp
src/quick/items/qquickloader.cpp
src/quick/items/qquickpathview.cpp
src/quick/items/qquicktext.cpp
src/quick/items/qquicktextedit.cpp
src/quick/items/qquickvisualadaptormodel.cpp
src/quick/items/qquickvisualdatamodel.cpp
src/quick/util/qquickanimation.cpp
src/quick/util/qquickconnections.cpp
tests/auto/qml/qqmlcpputils/qqmlcpputils.pro
tests/auto/qml/qqmlcpputils/tst_qqmlcpputils.cpp
tests/auto/qml/qqmlecmascript/data/secondAlias.qml [new file with mode: 0644]
tests/auto/qml/qqmlecmascript/data/varAlias.qml [new file with mode: 0644]
tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
tests/auto/qml/qqmlglobal/qqmlglobal.pro
tests/auto/qml/qqmlinstruction/tst_qqmlinstruction.cpp
tests/auto/qml/qqmllistreference/tst_qqmllistreference.cpp
tests/auto/qml/qqmlmetaobject/tst_qqmlmetaobject.cpp
tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp
tests/auto/qmltest/buttonclick/tst_buttonclick.qml