aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlplugindump/data
Commit message (Collapse)AuthorAgeFilesLines
* Fix qmlplugindump version dump issueMichal Policht2018-11-233-0/+15
| | | | | | | | | | Changed major and minor version of created QQmlType. Using major and minor version of a candidate instead of major and minor versions passed to a function. Task-number: QTBUG-67292 Change-Id: I2c30f5e8f49aa0be3a1d5b404ab16eb376ad8092 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* qmlplugindump: Properly handle extension typesKai Koehne2018-10-096-0/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extension classes do augment the primary C++ class with additional properties that should be part of the QML type. Anyhow, they should not be visible in the API. The old logic tried to emulate this by making the extension class the actual C++ type, and 'inheriting' from the normal class by setting it in the prototype. Anyhow, this failed for e.g. Qt3D, where there are numerous types sharing the same extension class. Instead, this patch fixes the issue a) hiding the extension class metainformation itself, and b) printing properties of the extension class as part of the main type. In the QMetaObject collection phase, we now traverse the class hierarchy using QQmlType::baseMetaObject instead of QQmlType::metaObject. In the generation phase, we explicitly resolve the extended type, and dump additional properties and "DefaultProperty" information into the main type description. Note that the ExtendedType sets the DefaultProperty independent of the version. Changing this would require either revisioning the defaultProperty, or (again) splitting up the types, which however brings other problems. Task-number: QTBUG-70294 Change-Id: I324469152398a605fae9e5a35b619845444ac4e8 Reviewed-by: Marco Benelli <marco.benelli@qt.io>
* Merge qmlplugindump testsKai Koehne2018-10-0926-1/+692
| | | | | | | Move all qmlplugindump test cases to the autotest one. Change-Id: If7b5ea119c862507686c11f4dafaa4648d4808f5 Reviewed-by: Marco Benelli <marco.benelli@qt.io>
* Make qmlplugindump work in shadow buildsUlf Hermann2017-09-202-0/+9
QQmlDataTest has provisions for looking up the data files in the right place. Use that. Change-Id: I3ec8d75efc0e66980986192e87e5ac52bc1119df Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>