qmlRegisterSingletonType will be invoked once per engine, but more importantly try to clean itself up on destruction.
We want to register the singleton instance we have already.
qmlRegisterSingletonType will be invoked once per engine, but more importantly try to clean itself up on destruction.
We want to register the singleton instance we have already.