Infinite Qt animation (without specified duration time)
c++, qt
Solution
So finally I figure it out: using the `QPropertyAnimation::setLoopCount(-1)` member function makes the animation run forever until stopped with the `QPropertyAnimation::stop()` signal...
Problem
I'm developing a Block Breaker clone using c++ and Qt and I would like to know how to create infinite(or unbounded) animation for the movement of the ball. Should i stick to the animation framework (by sub-classing QAbstractAnimation), or consider creating and managing new threads for handling animations? Some experienced guidance would be very helpful, thank you.