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