Qt 5.3 OpenGL - vertex buffer object drawing using the core profile
- by user3700881
Im using Qt 5.3 to create a QWindow to do some basic rendering stuff. The QWindow is declared like this:
class OpenGLWindow : public QWindow, protected QOpenGLFunctions_3_3_Core
{
Q_OBJECT
...
}
It is initialized in the constructor:
OpenGLWindow::OpenGLWindow(QWindow *parent) : QWindow(parent)
{
QSurfaceFormat format;
…