QDebug() << "Driver Version String:" << glGetString(GL_VERSION) QDebug() << "OpenGL context" << mWidget.format()
QDebug() << "OpenGL context " << mGlFormat QDebug() << "OpenGL context QFlags " << mGlFormat.openGLVersionFlags() I found someone with a similar problem who did it like this. So I looked for a way to print some information. I suspected that my mac might not support the GLSL. The simple triangle does not show up, however there are no warnings and the program itself shows up. However I encounter some problems to rebuild programs from tutorials as e.g. I try to code an OpenGL project with Qt (v5.1.1) on OS X 10.9, in the manner of the modern pipeline implementation.