Hello, as per the Qt documentation ( https://doc.qt.io/qt-6/qqmlengine.html#QML_SINGLETON), I'm using a static `create()` function to inject an existing C++ object as singleton into the QML runtime.
I'd like to be able to replace that singleton instance over the course of the application's workflow, but I couldn't find any indication in the docs for whether that's allowed, or whether that might lead to undefined behaviour. Any idea ? Thanks, -- ...ich hab' noch einen Koffer in Berlin...
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest