diff options
| author | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2022-09-24 10:59:40 +0200 |
|---|---|---|
| committer | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2022-09-27 11:45:30 +0200 |
| commit | c662c744cf91f966dbc072afc6d433dbfed380fb (patch) | |
| tree | 1fe6f7567cba5f82fc05316ebc2a0303b37ba018 /sources/shiboken6/ApiExtractor/codesnip.cpp | |
| parent | 4669e8ef08eeb4dc81df04214807e9c4da8fc965 (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.
Pick-to: 6.3
Change-Id: I97e5233331f01fcaa58ca8d6ffa9d978d6d31e91
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/codesnip.cpp')
0 files changed, 0 insertions, 0 deletions
