Hi.
I wrote simple test application that reproduse my problem.
The problem is in QScopedPointer at exit point
inline T *data() const
{
return d;
}
method.
Here is call stack:
Qt5Widgetsd.dll!QScopedPointerQObjectData,QScopedPointerDeleterQObjectData
::data() Line 132C++
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).
But
On Thu, Sep 19, 2013 at 12:07 PM, Igor Mironchik
igor.mironc...@gmail.com wrote:
But in call stack I see that all d_tors() executed before
QApplication::d_func() and then for some reasons executes
QScopedPointer::data() !!! It's looks like a bug? Or I wrong?
The QApplication object is