[Qt-qml] "RotationAnimation: setRunning() cannot be used on non-root animation nodes"
Stephen Collyer
scollyer at netspinner.co.uk
Mon Jul 19 20:30:46 CEST 2010
The following code generates the warning in the subject line.
Can anyone tell me what is causing this ?
Item
{
..
Text
{
id: goodbye
text: "Goodbye"
color: "red"
anchors.horizontalCenter: page.horizontalCenter
anchors.verticalCenter: page.verticalCenter
rotation: 0
}
ParallelAnimation
{
RotationAnimation
{
id: rot
target: goodbye
loops: Animation.Infinite
from: 0
to: 360
duration: 4000
}
ColorAnimation
{
target: goodbye
from: "red"
to: "blue"
}
}
}
--
Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100719/09b62112/attachment.html
More information about the Qt-qml
mailing list