Qt World Summit: Submit your Presentation


How to delete qml object from Qt slot?



  • 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.


  • Moderators

    Hi

    Pass the parent object to QQuickView and it will be deleted on quit.


Log in to reply