c++ - Qt Heap corruption detected after normal block -
Text after "
I get the following status:
InspectionTreeWidget header:
Class InspectTreeVidget : Public Citizenship {Q_OBJECT Public: Clear InspectTrevigate (QWidget * parent = 0); Private: QVBoxLayout * layout_sourcesettings; QFrame * frame_source settings; ...
InspectionTreeWidget implementation:
InspectionTreeWidget :: InspectionTreeWidget (QWidget * Parents): QTreeWidget (parent) {QVBoxLayout * layout_sourcesettings; Layout_sourcesettings = New QVBoxLayout (); Frame_sourcesettings = New Queue (this); Frame_sourcesettings- & gt; SetLayout (layout_sourcesettings); ...}
Everything works well, but when I close the application, I get "heap corruption after the normal block"
What am I doing?
Thank you
Edit (Solved):
If this is a bug or not but the problem is I do not know the creation process I was in this code:
InspectionTreeWidget :: InspectionTreeWidget (QWidget * parents): QTreeWidget (parent) { QVBoxLayout * Layout_sourcesettings = New QVBoxLayout (); Frame_sourcesettings = New Queue (this); Frame_sourcesettings- & gt; SetLayout (layout_sourcesettings); ...}
I did rebuild and everythink was okay.
Then I have the steps for the title of the announcement of layout_sourcesettings and I did not get errors in the project and compilation of the build , but when I close the application, I found hep corruption. But after that a rebuilding now I get a heap corruption ...
So my question is: is this a QT related bug or every local file What steps do I have to rebuild? Thanks
Comments
Post a Comment