(1) Google "trent reed qt5 opengl". You get a tutorial (six or so parts) which will push you forward.
(2) there is the "old OpenGL" where you paint the scene yourself using OpenGL API, and the "new OpenGL" where you paint using shaders. glBegin() and glEnd() are specific for the old OpenGL: glBegin() - paint first triangle - paint next triangle - ... - glEnd() - glFlush(). The new OpenGL does not draw this way and it does not use glBegin() and glEnd().
(3) OpenGL Superbible and similar books deal with OpenGL and not with Qt. You see the "real", platform independent, OpenGL interface.
Bookmarks