[Qt-interest] Exiting before the main event loop

Pete Black theblackpeter at gmail.com
Mon Feb 23 20:44:18 CET 2009


Arnold Krille wrote:
> Hi,
> 
> no need to CC me, I read the list (especially the topics I responded to).

Not everybody does :).

> 2) Create a "bool MyQApplication::shouldRun()" and replace the app.exec()-line 
> in your main with "if ( app.shouldRun() ) app.exec()".

I like this one. Thank you for that.

Pete



More information about the Qt-interest-old mailing list