Important: Please read the Qt Code of Conduct -

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 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
    Anything else?

    1. Use Qt5
    2. Ask for a 3.2 Core profile context and surface format
    3. 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.

Log in to reply