hi correct me if i am wrong, but i understand that your problem is:
int main(void)
{
QApplication app;
//animation code
heavyProcessingFunc();
app.exec();
}
calling processEvents() with a timer started in main also does not give timer call back.
the timer of qt also works with the eventloop so till you do an app.exec() the event loop is not started and hence you wont get timercall backs.
if you are not allowed to change the heayProcessingFunc() you should definitely move it into another thread. or else i dont think we can figure out a way to do the animation smoothly!!!
but then the problem in interesting and a neat final solution would be a nice thing to see...
cheers!
Bookmarks