After closing my program after running it from Qt Creator, I can see how message that looks like this:
Widgets left: 0 Max widgets: 281
This is due to the added -widgetcount
argument in the Run settings.
My question is, what does max widgets means? Does it represents how many widgets have been created? I'm getting worried in terms of memory usage after seeing the number keeps increasing whenever I reopen and close the same dialog multiple times. It is as if everytime I reopen (the same Dialog), the widgets are not closed properly and new widgets just keep stacking up in the memory.