Don't work AnimationGroup (QSequentialAnimationGroup, QParallelAnimationGroup)
Solved
General and Desktop
-
I am learning from a book. I do single animation, but in group don't work.
QSequentialAnimationGroup *group = new QSequentialAnimationGroup;
trow me one error:
QSequentialAnimationGroup : no appropriate default constructor available
and QParallelAnimationGroup *group = new QParallelAnimationGroup; has 3 errors- QParallelAnimationGroup: undeclared identifier
- group: undeclared identifier
3.syntax error: identifier "QParallelAnimationGroup"
-
but it is bad,that Sequential animation need other #include <QSequentialAnimationGroup> library
-
yes, but at first i taught in QPropertyAnimation library would has all this features ( Why should not be? ), nor in my book read to need another library :D