Thanks ChrisW. I'll go through that code tonight in more detail. A quick read looks like it creates a QApplication if qApp is null and then does a qApp->processEvents(), but a quick read didn't show that it does an exec().

It also has the luxury or burden (depending how you look at it) that it can be in-process or out-of-process, so my guess it handles those cases differently.

Thanks for the pointer though.