Hi, > The problem is in QScopedPointer at exit point I don't think this has something to do with the QScopedPointer. The QApplication is object is destroyed before the static instance of your MainWindow is. The QWidget destructor however needs a QApplication instance (see stack frame #3). Nils