Do you know any tutorials that start from foundation and builds up to it?
I don't have any experience with OpenGL.
I found most tutorials to be about QGLWidget.
But in the new versions of Qt 5, QOpenGLWidget is intended to be a modern replacement for QGLWidget.
I haven't been able find a good tutorial for QOpenGLWidget.

cheers