QGraphicsPixmapItem display performance
sstj last edited by
I am currently working on the animation of a QGraphicsPixmapItem. I used a Qtimer to pass the new position to the item every 5 milliseconds and update the position of the item using the setPos() function. However, it seems that the Qgraphicsview updates the position of the item on a different speed than I intended. (5 milliseconds for example). Does qt has a limit on the refresh rate for the screen and how should I deal with this?
@sstj 5 milliseconds update rate means 200Hz - do you even have a display capable of such frequency? If not then it does not make any sense to update that frequently.
Typical monitors have 60Hz.