i have a strange behavior in my app.
I have several QWidget in my app, for each QWidget I have created all object at run time, I haven't used GUI interface.
I have added to each object this attribute
and I have declared them into my header files, but I have initialized in cpp files.
Other object are deleted in ~QWidget method using this statement
So, I navegate between Qwidgets using this statement
frmCancella *can = new frmCancella();
frmCancella is my QWidget.
Sometimes when i navigate between QWidget, my application lost QWidget background image and later my application crashes.
I receive a message box that informe me about a stack overflow.
I don't know which component causes the problem, is there a method to understand where is the problem?
please help me