Yes, and unless you free it, it will become what we call a memory leak (i.e. the kind of thing that should be avoided at all costs). Please note that Qt widget classes may be instantiated by providing a parent to the widget. So, unless you don't provide a parent, the widget object will be automatically freed when its parent is deleted.





Reply With Quote
Bookmarks