[Qt-interest] qwidget performance
Tomasz Grobelny
tomasz at grobelny.oswiecenia.net
Tue Jun 14 23:43:46 CEST 2011
I was doing a test where I create a lot of widgets (I used QPushButtons as an
example) in one window (inside QScrollArea; only tiny portion of the created
widgets are visible at any given time). As long as there are under 10000
widgets the creation time is acceptable but then is starts to grow quite
quickly. Creating 1000000 widgets is virtually impossible. Is there any way to
improve performance in this case (except from dropping qwidgets in favor of
drawing rectangles manually).
--
Regards,
Tomasz Grobelny
More information about the Qt-interest-old
mailing list