Hi follow what you say and now it's ok.
But if I can i would like to do another question.
My code is structured in this way:
It does the trasformation but it does trasformation from up left corner even I would like that It does trasformation from the center of my Item.
QGraphicsScene *scene=new QGraphicsScene(0,0,360,640);
MyQgraphicsObject *myItem=new MyQgraphicsObject;
QGraphicsView *view=new QGraphicsView(scene);
QGraphicsItemAnimation *animation=new QGraphicsItemAnimation;
I try to use: setItem->setTransformOriginPoint(180,320);
but id doesn't run.
What could i do?