What do you mean when you say "sharing a QGLWidget"?