[Qt-interest] QCoreApplication::closingDown?

Stephen Jackson spjackson42 at gmail.com
Tue Jul 7 23:07:46 CEST 2009


On Tue, Jul 7, 2009 at 9:23 PM, Eric Clark wrote:
>
> Can anyone tell me exactly what causes the QCoreApplication::closingDown
> flag to get set? I thought that closing of the main window would cause it to
> get set, but it does not seem to be happening. Is there any way to set the
> flag myself?
>

The documentation says, "Returns true if the application objects are
being *destroyed*".

The source code reveals that it is set to true on entry by
QCoreApplication's destructor - just as I would expect from the
documentation.

You cannot set this specific flag yourself.

Regards,

Stephen Jackson



More information about the Qt-interest-old mailing list