PDA

View Full Version : QStyles and it's memory usage



RSX
28th August 2009, 14:18
In my application I have 100 push buttons and just by moving mouse over them the applications memory usage keeps growing (this doesn't happen in default style). The memory usage at startup is around 10 000K, after 30 seconds of mouse moving over the buttons memory usage grows up to 20 000K.

Is it normal? Should I worry about that?

Edit: I guess it's caused by StyleSheets, in documentation I found:

Warning: Qt style sheets are currently not supported for custom QStyle subclasses. We plan to address this in some future release.