How to delete qml object from Qt slot?
QML and Qt Quick
2
Posts
2
Posters
883
Views
1
Watching
-
wrote on 25 Sept 2014, 13:32 last edited by
Hi,
My application has mixed with QML & Qt. Launching heap based QQuickView object from Qt Slot. How to gracefully delete the QQuickView object when use click on close button ('X' button next to minimize/mazimize/restore) QML screen. Any inputs.
Thanks.
-
Hi
Pass the parent object to QQuickView and it will be deleted on quit.
1/2