summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2012-09-03 15:38:39 +0300
committerQt by Nokia <qt-info@nokia.com>2012-09-12 10:35:00 +0200
commit827a616c3a357ddd79b4e59848c57fcc6f82fa18 (patch)
tree56fc9808668d44e8d8d96840739a3a29cfd4e272 /examples
parent8d379ad2a08a782fd5cf3c63436e8e49484df63c (diff)
downloadqtactiveqt-827a616c3a357ddd79b4e59848c57fcc6f82fa18.tar.gz
Fix dumpcpp tool to work with revision 7 metaobject format.
Dumpcpp tool still generated revision 1 moc format, so generated code would no longer compile. Ported relevant revision 7 generation code from moc tool to dumpcpp tool. Also squashed multiple generated string tables into a single string table. QVariant::nameToType(typeName) no longer returns UserType for QVariant, so fixed few comparisons to take this into account. Removed warning print from MetaObjectGenerator::addProperty(), as this just spams warnings unnecessarily when generating properties. Normally the required metatypes are not registered at time of generation (e.g. when running dumpcpp tool). Note that the check for this warning was buggy in Qt4, so it already never printed there. Added a simple autotest to verify dumpcpp generates working code. Task-number: QTBUG-26587 Change-Id: If12d2301890c209e7fbcb3bc054791a1c9d492c3 Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions