Qt World Summit: Register Today!

Qml Prject Bug on ColorAnimation (transition) in Qt Static build

  • Hi ,
    I just find out that QML color transition has issue when the output is a Static File (built by static Qt Built.)

    Tested using Qt 4.7.3/ 4.7.4 /4.8
    Visual Studio 2008 /2010 Jom Mingw ....

    Sample Code that problem Occures
    @ Rectangle {
    id: rect1
    width: 100; height: 100
    color: "blue"

        MouseArea {
            id: mouseArea1
            hoverEnabled: true
            anchors.fill: parent
        states: State {
            name: "colorchanged"; when: mouseArea1.containsMouse
            PropertyChanges { target: rect1; color:"#000c00" }
        transitions: Transition {
             ColorAnimation { target: rect1; duration: 800}

    What is the Issue . :::
    this transition should change the color of the Rectangle to "#000c00" in 800ms.
    in Static environment ,the color donot change in 800ms. the color change after 800ms !!!!!! and not by animation , it changes in a sudden;
    sleep(800) ms
    Color changes....

    I am going to upload the project file and compiled static version.

  • up ? anybody interested ?

  • Please allow for at least 24 hours* before kicking your topic.

    *) Some would say: a week.

Log in to reply