   qt basic rendering loop
  Hello, I'm exploring the qt under linux and openGL and I have a question:what would a typical rendering loop look like in QT?start a thread?start a timer?   
  Qt provides a main loop. You can surely hook into it somehow. Look into the OpenGL samples.   ;  Ah I see it...void timerEvent(QTimerEvent *) { update(); }using the timerEvent() method of QObjectand passing the update() of QWidgetthen in the constructor start the timer with startTimer();   ;  You can hook to the event loop indirectly using QTimer, or paint with OpenGL using QGLWidget, which provides methods you need to implement, such as initializeGL, resizeGL and paintGL. Inherit from QGLWidget and implement those methods and will be called in appropiate times.   