OpenGL 3.2 on OSX 10.7+ (lion)
This has been discussed here before, but not to a satisfactory conclusion. Does anyone know:
1] how to enable, and actually use, OpenGL 3.2 on Apple's latest mac OS releases?
2] when that will be supported by Qt?
The issues around 1] that I know of:
modifying qgl_mac.mm to pass 2 new constants when creating a pixel format
apple seems to require a non-default vertex array object for all rendering in 3.2
- Use Qt5
- Ask for a 3.2 Core profile context and surface format
- Use it
There should be no need to do anything else. If there is please report a bug.
Thanks. What about Qt 4.8 ?
I see no mention of any 3.2 Core profile support in the OpenGL support for Qt 4.8 so I guess it is not implemented there yet.
It shouldn't be too hard to backport the relevent code from Qt 5 but unfortunately I have no time to do that right now. Feel free to give it a shot or file a bug report for it.