PDA

View Full Version : Multiple Views One GL Context



qtoptus
5th December 2010, 22:34
How can I use the same OpenGL context for multiple QGraphicsView windows?

Is there a restricted version of OpenGL profile I have to use or can I specify whatever version? Can I use GLEW?

Thanks.

wysota
5th December 2010, 23:23
So can use whatever you want. There is a constructor for QGLWidget that accepts a pointer to a gl context.