Details
-
Bug
-
Resolution: Fixed
-
P4: Low
-
6.5.2
-
None
-
3b086f648 (dev), 02dfdfd61 (6.6), 42e851221 (6.5), 8b7f7fa1e (dev), 5038cead9 (dev), 4b2098931 (dev)
Description
The C++ implementation of `QML_SINGLETON` has a `create` factory method. QmlSingleton has none. The factory method would be useful to store the QML and JS instance reference for example.
static MySingleton *create(QQmlEngine *qmlEngine, QJSEngine *jsEngine
Attachments
For Gerrit Dashboard: PYSIDE-2432 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
513750,32 | Add static create() function for decorated QML singletons | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
514048,4 | Fix crashes related to broken QML decorators | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
514233,13 | Improve the error handling of the QML singleton creation | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
514248,17 | Introduce a callback functor for QML singleton creation | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
514268,2 | Fix crashes related to broken QML decorators | 6.6 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
514338,2 | Fix crashes related to broken QML decorators | 6.5 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
514391,1 | Fix another crash in bug_825.py when looking up enum values (Python 3.12) | dev | pyside/pyside-setup | Status: ABANDONED | 0 | 0 |
515393,1 | Improve the error handling of the QML singleton creation | 6.6 | pyside/pyside-setup | Status: ABANDONED | 0 | 0 |
516237,1 | Introduce a callback functor for QML singleton creation | 6.6 | pyside/pyside-setup | Status: ABANDONED | 0 | 0 |