[quote author="MuldeR" date="1335282076"]...
But I think as long as the "main" application doesn't run an event loop yet, you can create your own in the DLL.
However I think this will only work properly, if the "main" application calls your DLL function from its main thread...[/quote]
But this will block the main function of the app. QApplication::exec blocks till the event loop should be stoppped, which means, the last UIs are closed.