Documentation states that "A QObject singleton type instance returned from
a singleton type provider is owned by the QML engine. For this reason, the
singleton type provider function should not be implemented as a singleton
factory."

I need to use that same singleton object on the C++ side beside its usage
from QML UI.
Can I override this by setting ownership to CppOwnership via
setObjectOwnership()?

Regards,
Dmitry.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to