diff options
author | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2022-09-24 10:59:40 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-09-27 12:49:04 +0000 |
commit | a996c257eebdaf4bd64bc4262977f007b2c14abd (patch) | |
tree | 4e259252662601d8e5eb5a74664b6d39236dd019 /header.BSD-OLD | |
parent | f889e300ad268c615c4c3a9aa58e39a686a615c1 (diff) |
QtQuick Example: Use QmlElement instead of qmlRegisterType
- The example used the old way of registering the Qml type using the
qmlRegisterType(). This is now updated to use the @QmlElement
decorator. This would also make it work with pyside6-qml.
Change-Id: I97e5233331f01fcaa58ca8d6ffa9d978d6d31e91
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit c662c744cf91f966dbc072afc6d433dbfed380fb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'header.BSD-OLD')
0 files changed, 0 insertions, 0 deletions