But you are updating your widget even when no animation is going on...Yes I do realize that this will cause the GL widget to update continuously, which is what I want as I am creating an animation.
You should start the timer when you want to animate something, and stop it when the animation is finished.
Also, a 0 timer is a bit extreme for animation, the human eye will perceive a smooth motion with 24 fps, which is about 40ms.
With a 0 timer you are making your application use CPU cycles that it doesn't need.
If you make a simple project which only has a QGLWidget and a 0 timer, and it still locks, you might want to register a bug, with the code for reproducing it.
However, at least based on the code you posted, I can't explain why you experience a lockup.
Bookmarks