[SOLVED] Setting QOpenglContext version on Mac OSX (Qt 5.3)
-
Hi,
on windows, I can set the opengl context version to 3.2 and it works fine. On Mac OSX however, it seems to put a real mess everywhere... It I do not change anything, then I get a 2.1 opengl context which is not what I want ideally.
Is there anyone there who managed to change the opengl version on Mac OSX?
Thanks for any help.
-
Ok, to summarize: do NOT even try it, it will NOT work... Qt OpenGLContext on Mac OSX is a complete mess it seems^^'
-
On OS X only a core profile is supported. So create a QSurfaceFormat that requests a core profile context. This is not a Qt limitation. Apple only implemented the core profile for OpenGL >= 3.2 as required by the spec. The compatibility profile is optional.
-
On OS X only a core profile is supported. So create a QSurfaceFormat that requests a core profile context. This is not a Qt limitation. Apple only implemented the core profile for OpenGL >= 3.2 as required by the spec. The compatibility profile is optional.