[Qt-interest] Static destructors errors

Michael Bieber qtlist at traits.de
Sat Oct 17 12:29:02 CEST 2009


Looks to me like:

http://www.parashift.com/c++-faq-lite/ctors.html#faq-10.12

for destruction. I also had this at some point (not Qt-related). In 
these cases it is hard to say in what order destruction happens after 
main() finishes. Even atexit() is of no help here. Nifty counters might 
help here (described in the C++ FAQ book - not the online lite version). 
But they have to be placed very probably inside the Qt classes 
themselves (didn't check the Qt sources for this).

Micha



More information about the Qt-interest-old mailing list