[Qt-qml] QML SpringFollow element

Martin Jones martin.jones at nokia.com
Wed Sep 1 01:14:13 CEST 2010


SpringFollow was removed in favor of SpringAnimation with a Behavior:

Item {
    Behavior on y { SpringAnimation { spring: 2; damping: 0.2 } }
}

Qt 4.7.0 RC1 is available now so I suggest upgrading.  The QML API is now 
stable.

BR,
Martin.

On Wed, 1 Sep 2010 08:55:36 am ext Robison, Clayne B wrote:
> When running the samegame QML example code, I encounter these errors. I'm
> using Qt-Creator 2.0.81 (2.1.0-rc1), and Qt 4.7.0 beta 2.
> 
> 1. When I launch the app: samegame.qml:91: ReferenceError: Can't find
> variable: initialWidth
> 
> 2. When I click "New Game": error loading block component...
> BoomBlock.qml:53 SpringFollow is not a type
> 
> Any ideas?
> 
> Thanks.
>  
> Clayne Robison
> Application Engineer
> Intel Corporation
> Phoenix, AZ
> 480.552.5309
>  
> "Perhaps travel cannot prevent bigotry, but by demonstrating that all
> peoples cry, laugh, eat, worry, and die, it can introduce the idea that if
> we try and understand each other, we may even become friends."    Maya
> Angelou
> 
> 
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-qml



More information about the Qt-qml mailing list