Hi! Is it possible to use QPropertyAnimation with a QGraphicsPixmapItem? I read it is possible by creating a subclass and making it inherit from QObject as well. So, I created it and defined the property like:
Qt Code:
Q_OBJECT Q_PROPERTY (qreal rotation READ rotation WRITE setRotation) ...To copy to clipboard, switch view to plain text mode
but when running the animation I get a crash. I made the same for a QGraphicsItem and it worked, but this isn't. Any idea why?
Thanks!
Bookmarks