Debugging and OSGQTViewer based on QGLWidget