Results 1 to 1 of 1

Thread: QStyles and it's memory usage

  1. #1
    Join Date
    Apr 2009
    Posts
    46
    Thanks
    4
    Thanked 7 Times in 7 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QStyles and it's memory usage

    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:
    Qt Code:
    1. Warning: Qt style sheets are currently not supported for custom QStyle subclasses. We plan to address this in some future release.
    To copy to clipboard, switch view to plain text mode 
    Last edited by RSX; 28th August 2009 at 19:25. Reason: StyleSheets

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.