I tried two different possibilities.

First:

Image 
{
            id: media_cover
            source: "../images/media_cover.png"
            smooth: true
            rotation: 0
            transformOrigin: Item.Center
}

RotationAnimation
{ 
  target: media_cover; 
  property: "rotation";
  loops: Animation.Infinite; 
  from: 0; 
  to: 360; 
  duration: 8000
}




Second:

Image 
{
            id: media_cover
            source: "../images/media_cover.png"
            smooth: true

            transform:
                Rotation {
                id: cover_rot
                origin.x: parent.width/2
                origin.y: parent.width/2
                angle: 0
                }
}

NumberAnimation 
{
target: cover_rot; 
property: "angle"; 
loops: Animation.Infinite; 
from: 0; 
to: 360; 
duration: 8000
}


Both options don't work.


I tried it on windows xp, windows 7, i.MX53 with Qt 4.8 and also with Qt 5 
Alpha. Everywhere with the same result. 


Is it a known problem of Qt or rather someone knows a solution for this 
problem.


Best regards

Thomas
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to