diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-11-23 09:26:49 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-11-23 08:42:49 +0000 |
commit | bb3d6a1741af84ade466d5a0ba68818cfbfb1c0d (patch) | |
tree | 70b092b42d60337696b2612cabc4060a97143f48 /src/imports/controls/Frame.qml | |
parent | fb7c95414b6150b843458a89cb94837d6c5750f3 (diff) |
Sort out and clarify QML type registration
We cannot call qmlRegisterRevision() for our own types, because that
will register an unnamed type. In practice, the empty type name occurs
as a missing type name in qmlInfo() warnings. I've clarified the type
registration comments a bit, about what needs to be registered and
where:
- templates: new types _and_ new revisions for existing types
- controls: _only_ new types
For controls, the revisions is determined by the import version in
the .qml file, so those must be kept up to date in new releases.
Change-Id: I7c76a9d80185fa7e922c419b4ee7361be45c61f5
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/Frame.qml')
0 files changed, 0 insertions, 0 deletions