Hi,
I am using Qt 3.3 Embedded version obviously on an Embedded platform..
Scenario:
I have 'n' different widgets which I open and close depending on the user inputs.
Every time, I feel that widget is no longer required, I use close(true) to close the widget.
Since I created my widgets with "WDestructiveClose" flag, I was pretty confident that the widget would be deleted rather tha being hidden.
I had "qWarning"s in my widget's destructor and since they were getting printed, I took it granted that all the child widgets / components are deleted and the corresponding memory is being freed.
Problem:
There is a memory leak happening when a widget is being opened and closed. The memory usage is building up and causing a disastrous effect.... and mine is an Embedded system....scarce of memory...
Doesn't Qt free up all the memory, it has allocated once the widget's destructor is called??
Is there any tool / way to find out where exactly the memory leak is happening....?
Any suggestion is surely a Welcome....
Thanks in Advance...
Regards,
Svaths
Bookmarks