Hi,
I'm not entirely sure if I can use Qt classes before QCoreApplication app; app.exec(). I met once app.argument() to cause segmentation fault, I don't know whyI'm not even able to check if I already can do anything with Qt objects.
I'm playing with startingUp() static method from QCoreApplication. As far as I understeand it from documentation - it should return true while application is starting up and some more objects needs to be initialized (etc, etc, ...), but whould return false when application (the Qt) is ready for regular processing.
For me it always returns true (until application quit). As I read in Qt sources - it's set to true at start and to false at shutting down.
Is it really as I read in sources, or did I miss something? ...and what about usage of Qt classes (except QEvent, of course) before exec()?
Bookmarks