May 9, 2011

Satmosc Satmosc
Lab Rat
71 posts

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

  1.     Rectangle {
  2.         id: rect1
  3.         x:0
  4.         y:100
  5.         width: 100; height: 100
  6.         color: "blue"
  7.  
  8.         MouseArea {
  9.             id: mouseArea1
  10.             hoverEnabled: true
  11.             anchors.fill: parent
  12.         }
  13.  
  14.         states: State {
  15.             name: "colorchanged"; when: mouseArea1.containsMouse
  16.             PropertyChanges { target: rect1; color:"#000c00" }
  17.         }
  18.  
  19.         transitions: Transition {
  20.              ColorAnimation { target: rect1; duration: 800}
  21.         }
  22.     }--

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.

 Signature 

M.Hatami
To the Rationalism

2 replies

May 9, 2011

Satmosc Satmosc
Lab Rat
71 posts

up ? anybody interested ?

 Signature 

M.Hatami
To the Rationalism

May 9, 2011

Andre Andre
Robot Herder
6394 posts

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

*) Some would say: a week.

 
  ‹‹ QTableView - some cells and column headers not editable      [SOLVED] Cursor and image coordinates(problem with scaling) ››

You must log in to post a reply. Not a member yet? Register here!