Well after looking for hours on the web i couldn't find anything. So i was trying to make a towerDefence game and the towers are moving around the enemy. Anyway i tried the following code:
this->pixmap().transformed(QTransform().rotate(90));
But it is not rotating at 90 degres :( Maybe is because the class is a QGraphicsPixmapItem i dont know but i tried a lot but it is not working Myclass.h:
class Myclass:public QObject, public QGraphicsPixmapItem
Maybe is cause of that i dont know. Sorry for my english i'm from france :)
