[PyQt] QGraphicsView very slow under Linux and Mac OS X
Clemens Brunner
clemens.brunner at tugraz.at
Wed Apr 3 13:15:45 BST 2013
Hi,
I've also posted this question as a bug report at qt-project.org (https://bugreports.qt-project.org/browse/PYSIDE-151), but this is also a PyQt issue.
QGraphicsView is apparently very slow under Linux and Mac OS X. I've attached an example program (runs with PySide or PyQt). The signals should be updated every 25ms; the actual timer intervals are displayed on the console. Now under Linux and Mac OS X, the graphics get slower with increasing window size. In full screen, the timer intervals are around 100ms instead of 25ms on my machines.
This problem does not exist under Windows. Here, the intervals are not affected by window size, and the intervals stay at the given values. Interestingly, the program runs perfectly fast even in a Windows inside a VM.
Furthermore, this problem is PySide (or PyQt) specific, because this behavior does not occur when I use Qt from C+. In C+, the program works as expected on all three platforms.
Thanks,
Clemens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graphicsviewtest.py
Type: text/x-python-script
Size: 1765 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20130403/ea1a1b00/attachment.bin>
More information about the PyQt
mailing list