Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
5.2.0
-
None
Description
A QML singleton may sometimes need interaction with other objects on the C++ side. It isn't always immediately clear how to do this, as the singleton object is created and owned by the QML engine (and should not be a C++ singleton). Adding API to access the QML singletons associated with a QQmlEngine would make this easier.
Attachments
For Gerrit Dashboard: QTBUG-39970 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
231058,9 | Provide API to access singletons associated with a QQmlEngine | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |