[Qt-interest] delete QApplication object crashes dll

Michael S msherman77 at yahoo.com
Fri Nov 5 15:41:37 CET 2010


Good day all.

I created a dll that has to include a QApplication object as one of its class members. I have to contain the QApplication object, because without it, text rendering is impossible (font db doesn't initialize). When I unload my dll, I delete that object, and I crash. 

My question is, is it enough just to call QApplication::quit and then exit?

Thanks,
Michael



More information about the Qt-interest-old mailing list