Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
5.15.6, 6.2.2
-
None
-
-
cf40e624e6 (pyside/pyside-setup/dev)
Description
Create two new QObject types in python and register both of them with qmlRegisterType().
e.g. class Car and Dashboard where Car contains a Dashboard object and exposes it through a property.
Then in QML, create an object of the type and try to setup an initial binding.
e.g.
Car
{ id: companyCar dashboard.speed: 32 }Fatal error results - Cannot assign to non-existent property "speed".
Minimal full repro files attached.
Same files and qml work fine with PyQt6.
Attachments
For Gerrit Dashboard: PYSIDE-1836 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
380418,10 | Add the 'grouped' example of the QML reference examples | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
398630,6 | Store the type object in PySideProperty | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
398631,9 | Fix grouped QML properties | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
398633,3 | Add explanatory comment to PySideProperty | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
398756,4 | Simplify special code handling Qt Quick type registration | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
398847,2 | Add explanatory comment to PySideProperty | 6.2 | pyside/pyside-setup | Status: MERGED | +2 | 0 |