Make QFastMetaBuilder generate revision 7 meta-objects
authorKent Hansen <kent.hansen@nokia.com>
Mon, 5 Mar 2012 09:22:37 +0000 (10:22 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 13 Mar 2012 11:58:48 +0000 (12:58 +0100)
commit7a5651b4f9fef530e1dc5516899c7f481f4480ef
treeab90013eb3087e6e2759d914f89bb01292790e0b
parent4dd4c442e15a155ff3784f28d6c1ebc68fe8382e
Make QFastMetaBuilder generate revision 7 meta-objects

Support for revision <= 6 will go away in Qt5.

This commit updates QFMB to match the latest format generated by moc:
  - Store string table as an array of QByteArrayData (literals)
  - Store only the meta-method name, not the full signature
  - Don't store parameter names as a comma-delimited string
  - Store explicit information about parameters (count, types, names)

Since the meta-data can now hold type ids > 256, there is no need to
store the names of property/parameter types at all anymore.

Change-Id: I487b14d22b2a92d9e6a9aa4e348f4bab181daff4
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
src/qml/qml/ftw/qfastmetabuilder.cpp
src/qml/qml/ftw/qfastmetabuilder_p.h
src/qml/qml/ftw/qqmlpool_p.h
src/qml/qml/qqmlcompiler.cpp
src/qml/qml/qqmlscript.cpp
src/qml/qml/qqmlscript_p.h
tests/auto/qml/qqmlmetaobject/tst_qqmlmetaobject.cpp