So there were numerous errors in my email. it's quit(), not exit(). 
Window.close() exists, but is a function, not a signal handler.

I'm still looking for a way to hook into the graceful shutdown of the app - 
trigger all windows closed, the on close event, then exit.



> Sent: Tuesday, May 10, 2016 at 9:37 AM
> From: "Jason H" <jh...@gmx.com>
> To: "interest@qt-project.org Interest" <interest@qt-project.org>
> Subject: [Interest] QML: Qt.exit() does not trigger Window.onClose()
>
> I'm using ApplicationWindow and when I call Qt.exit() it just exits. The 
> onClose() event never fires. I think this is a bug as Qt.exit() should close 
> all windows, then exit. Or there should be some GUI-enabled version like 
> Qt.close() or something like that. 
> 
> Thoughts?
> 
> 
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
> 
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to