How to solve this error: 'QPropertyAnimation' was not declared in this scope
-
Hi,
In my program i have added 'QPropertyAnimation' class reference by using #include <QPropertyAnimation>. while running in the gui mode there is no problem with my program.but when i try to cross compile the program i am getting the following error: "'QPropertyAnimation' was not declared in this scope". please anybody tell me how to solve this issue. -
#include <QPropertyAnimation>
??
-
yes
-
i have added both the <QParallelAnimationGroup> and <QPropertyAnimation>
-
Can you elaborate "while running in the gui mode" and "when i try to cross compile the program"?
-
Hi,
when i am trying to run my program in my pc itself it is working fine. but i need to cross compile my program for the arm board. so i am trying to compile my program for the arm board am getting the error "QPropertyAnimation’ was not declared in this scope”. i think
the thing is need to add the class reference in my .pro file? am i right -
Ah, ok. You will need all the includes and Qt modules for the ARM platform. The most important thing here is to add the correct include paths. QPropertyAnimation is in QtCore, it should be available though. Unfortunately I don't have experience with cross compiling stuff.
-
Thank u for ur reply.
-
is there anybody to help from this problem