summaryrefslogtreecommitdiffstats
path: root/examples/opengl/legacy/hellogl/glwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/legacy/hellogl/glwidget.h')
-rw-r--r--examples/opengl/legacy/hellogl/glwidget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/opengl/legacy/hellogl/glwidget.h b/examples/opengl/legacy/hellogl/glwidget.h
index 994e38e13d..9aca4451df 100644
--- a/examples/opengl/legacy/hellogl/glwidget.h
+++ b/examples/opengl/legacy/hellogl/glwidget.h
@@ -42,11 +42,12 @@
#define GLWIDGET_H
#include <QGLWidget>
+#include <QOpenGLFunctions_1_1>
class QtLogo;
//! [0]
-class GLWidget : public QGLWidget
+class GLWidget : public QGLWidget, public QOpenGLFunctions_1_1
{
Q_OBJECT