[PyQt] QGraphicsScene/Item/View optimisation

dboddie at trolltech.com dboddie at trolltech.com
Fri Feb 6 20:22:19 GMT 2009


On Fri Feb 6 15:05:12 GMT 2009, Frédéric wrote:

> I finally found that the paint() method is very slow, and use all the
> CPU. I re-designed my app so I don't have to use it (I just draw
> rectangles or ellipses, so I used the related items). And it is now very
> fast.

I guess this tool would have been useful:

http://www.digitalfox.org/projets/qPyProfiler/

Maybe it will also help you track down any other performance issues you
encounter.

David



More information about the PyQt mailing list