View Single Post
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#14
Originally Posted by pichlo View Post
OK, case closed, thanks to all who replied. FYI, the problem was QGLWidget. Replacing it with QWidget not only solved the problem but also made the redrawing much faster. The program also starts faster and is a bit smaller. All win, no lose.
Yeah, I was going to ask if you were using QGLWidget for performance reasons (hardware acceleration). I have found in the past that using a QGLWidget for the viewport when rendering QGraphicsItems on the N900 is actually slower than using a plain QWidget.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub
 

The Following User Says Thank You to marxian For This Useful Post: