diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-05-02 13:32:39 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-05-02 14:57:20 +0200 |
commit | b9a9a890e94d4cd7219735ff2414814d4d7dcf91 (patch) | |
tree | f95baecb8d2bc1895341444e0e98f82dab7597f2 /sources/pyside2/doc/tutorials | |
parent | b782c3054fe28f6f23ecab064a700f1da917d88f (diff) |
Fix class hierarchies not working with legacy qmlRegisterType()
In order to work with the new QML registration code, the legacy
qmlRegisterType() function set QMetaClassInfo items on the meta object
of the QObject type to be registered. This caused the meta object to
be recreated in PySide's dynamic meta object builder, breaking the
class inheritance information.
To fix this, use a separate dummy meta object to provide
the information.
Amends 91bf9aa10faad14de557136664f58005c935d11c.
Pick-to: 6.7
Fixes: PYSIDE-2709
Change-Id: Icbd56759279bc8fcf89705af013db560babe4065
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside2/doc/tutorials')
0 files changed, 0 insertions, 0 deletions