Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qml Prject Bug on ColorAnimation (transition) in Qt Static build
Qt 6.11 is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 3.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Satmosc
    wrote on last edited by
    #1

    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
    x:0
    y:100
    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.

    M.Hatami
    To the Rationalism

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Satmosc
      wrote on last edited by
      #2

      up ? anybody interested ?

      M.Hatami
      To the Rationalism

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andre
        wrote on last edited by
        #3

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

        *) Some would say: a week.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved