⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

Accessing Modern Open GL functions in Qt

  • http://stackoverflow.com/questions/23396717/accessing-modern-opengl-functions-from-qt-creator

    Basically, I am following and adapting the Hello GL es examples, and I want to switch them over to the modern pipeline functions available since OpenGL 3.0. I am using Open GL 3.0.

    When I am in the example projects, functions like this:

    glBindBuffer(GL_ARRAY_BUFFER, vertexbuffer);

    Do not appear available in scope (i.e, they wont compile, do not come up in intelisense.)

    Are these simply wrapped by Qt, or do I need to include some other libraries to get the rest of open gl?

  • Found the QGLFunctions class, and that mostly helps.

    However I have to write:


    I will spin up a rendering pipeline with these, and see if they work.

Log in to reply