aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlmoduleregistration.h
Commit message (Collapse)AuthorAgeFilesLines
* Process major versions as part of Q_REVISIONUlf Hermann2020-02-131-1/+6
| | | | | | | | Retrieve the major version from the meta object revisions and use them to register types and generate qmltypes files. Change-Id: I35da8963457660d1a49ba9063574e1a68057a7ba Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Remove module registrations when unloading themUlf Hermann2019-12-201-2/+5
| | | | | | | | | Otherwise you cannot re-load the same registrations again. This is exercised on macOS in multiple places once we start generating registrations for our own imports. Change-Id: Id6b07e60b77a748a76418ff462df332c928c0885 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Add support for semi-automatic QML type registrationsUlf Hermann2019-10-141-0/+58
We can use the new moc JSON output to collect all meta-objects at build time and, for those that include QML element registration meta-data, generate code that automatically registers these types with QML. This eliminates the need to call qmlRegisterType manually. For now this generates free-standing functions (per module) that need to be called manually. This is intended as an intermediate step. Task-number: QTBUG-68796 Change-Id: Ib414eef9757344feee488ebc7388f957b975347f Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>