Hey guys,
I'm trying to exit my gui application instantly withought continuing the execution of my Mainwindow. I do not want to emit a Mainwindow close event. I was trying something like this but it seems to not be working:
Qt Code:
//get application pointer //shutdown application with error qapp->exit(EXIT_FAILURE);To copy to clipboard, switch view to plain text mode
this seems to be doing nothing thow :/
I even put a QThread::msleep(5000); after this to make sure it was no issue with the eventloop not being executed quickly enough before the debugger hits an error.
Bookmarks