Fixed bug in QtOpenGL when real time clock is used:

1. the timer was set to the wrong interval;
2. the step counter was not updated.