[Qt-interest] display disconnected

Andreas Pakulat apaku at gmx.de
Fri Jun 26 12:07:38 CEST 2009


On 26.06.09 12:04:20, Albert Sanchez wrote:
> Will the program really abort

"Use the source" ;) qapplication_xll.cpp, qt_init() calls "exit(1)" so it
won't ever get to the .exec() call as this is done when creating the
QApplication. And your app will directly exit at that point (it'll run
destructors from global objects though).

> If it is the first case, isn't there any way to retry to connect?

No, if you want that you need to write a connection-check before creating
the QApplication object.

Andreas

-- 
You will be the last person to buy a Chrysler.



More information about the Qt-interest-old mailing list