Rotation animation about point other than origin with QTWidget App.
Zates last edited by
Hi I am trying to have a rotation animation for a pixmap, that rotates the item in the QGraphicsScene about an arbitrary point P, opposed to the origin. I know you can do this very easily in QTQuick, although I am stuck on how to do this in a QT Widget Application.
Any Ideas?? Thanks!
You can use QTransform to rotate your item. To get "global" coordinates, use mapTo*() methods.