February 16, 2012

Deleted Member # 1d173 Deleted Member # 1d173
Lab Rat
41 posts

how to include the Qpropertyanimation in my .pro file

 

Hi to all,

i am using qpropertyanimation and qparallelanimationgroup in project. i want to cross compile my project. while cross compiling am getting the following error

  1.  mainwindow.cpp:11:35: error: QParallelAnimationGroup: No such file or directory
  2. | mainwindow.cpp:12:30: error: QPropertyAnimation: No such file or directory

pls note that am getting this error while cross compiling only. it is running in my pc

4 replies

February 16, 2012

shoyeb shoyeb
Lab Rat
99 posts

please check this:

QT += sql gui core

like this there must be a property called animation, if its not then we will search for another solution…

 Signature 

There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code.

February 16, 2012

Deleted Member # 1d173 Deleted Member # 1d173
Lab Rat
41 posts

as u said i tried that but i did not get any property for that. can you tell me the exact property

February 16, 2012

mlong mlong
Mad Scientist
1517 posts

You are building your cross-compiled version against Qt >= 4.6?

 Signature 

Senior Software Engineer
AccuWeather Enterprise Solutions
/* My views and opinions do not necessarily reflect those of my employer.  Void where prohibited. */

February 17, 2012

Deleted Member # 1d173 Deleted Member # 1d173
Lab Rat
41 posts

yes miong u r right. I am using qt 4.7

 
  ‹‹ [Solved]How to build qt-everywhere-opensource-src-4.8.0 with webkit?      Multi-touch gestures with QWS ››

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