I can't check at the moment to be 100% sure, but it makes sense to me that QUiLoader doe NOT delete widgets it created, since it would mean an instance of QUiLoader would have to be kept alive as long as the widgets it created are alive.
And since you are not deleting the widgets you created with QUiLoader, you have a leak.
Qt Code:
To copy to clipboard, switch view to plain text mode
Try adding a clean up code for wid, or give it a parent, and see if the leaks are gone.
Bookmarks