Details
Description
A QEnum defined inside a QML singleton causes a segfault when accessed from QML. Minimal example attached.
Workaround: Use `QmlUncreatable` instead of a `QmlSingleton` if possible.
Attachments
For Gerrit Dashboard: PYSIDE-2433 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
498910,3 | Fix crashes related to enums in QML singletons | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
499044,2 | Fix crashes related to enums in QML singletons | 6.5 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
499058,3 | Fix crashes related to enums in QML singletons | tqtc/lts-6.2 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |
507685,3 | Fix crash of test registersingletontype.py in Qt 6.7 | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
508743,2 | Fix crash of test registersingletontype.py in Qt 6.7 | 6.6 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
508863,2 | Fix crash of test registersingletontype.py in Qt 6.7 | 6.5 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
508901,1 | Fix crash of test registersingletontype.py in Qt 6.7 | tqtc/lts-6.2 | pyside/tqtc-pyside-setup | Status: ABANDONED | 0 | 0 |