One way would be to add Qt properties for values you want to animate individually and then use QPropertyAnimation to drive the value changes.

You would then also connect the properties' change signals to the updateGL() slot, so that it is called whenever any of those properties changes.

Cheers,
_