QOpenGLWindow, QPainter, shaders example
I've seen bits and pieces of what I'm about to ask posted on various websites, but never a complete solution that would let me compile and see the results immediately.
Could someone please post a complete example or provide a link to github with the entire source for an OpenGL example that has the following:
- Qt5 using QOpenGLWindow with a profile set for OpenGL 3.3
- QPainter drawing text in that 3-D QOpenGLWindow window.
I apologize if this may seem to obvious to some, but I've been beating my head on this for days without success.