Sounds like you're running into the
OSX-only-supports-core-profile-so-qpainter-on-opengl-widget-doesn't-work
bug. That got fixed last summer by Julian Thijssen during his
summer-of-code project and the patch has been merged for Qt 5.9.
https://codereview.qt-project.org/#/c/166202/
https://bugrepor
Hello,
When I use both OpenGL rendering and QPainter calls in the paintGL function
of a QOpenGLWidget class, I get an OpenGL error code (1282) when checking
glGetError().
The painting still works, i.e. what I want to draw correctly appears on the
screen.
Also, this error code only appears on Mac