QMLEngine destroy my C++ object
QML and Qt Quick
1
Posts
1
Posters
603
Views
1
Watching
-
wrote on 13 Nov 2014, 13:04 last edited by
I am register a singletone class by calling qmlRegisterSingletonType. In my singletone i am creating objects by calling a new ClassName, but garbage collector destroy them. How i can prevent it ? Am i able to create object instances inside Singletone ?
1/1