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