From a57b8409a225ee2597768867c21774647f8e28bc Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Thu, 24 Apr 2014 14:36:57 +0200 Subject: Fix up examples for dynamic opengl builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id311b00fe7783a3175dc1c4a38f627c78c470761 Reviewed-by: Jørgen Lind Reviewed-by: Friedemann Kleint --- examples/opengl/hellogl_es2/glwidget.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'examples/opengl/hellogl_es2/glwidget.h') diff --git a/examples/opengl/hellogl_es2/glwidget.h b/examples/opengl/hellogl_es2/glwidget.h index 8ed86b1e01..00073aa047 100644 --- a/examples/opengl/hellogl_es2/glwidget.h +++ b/examples/opengl/hellogl_es2/glwidget.h @@ -42,15 +42,16 @@ #define GLWIDGET_H #include -#include -#include -#include +#include +#include +#include +#include #include #include class Bubble; -class GLWidget : public QGLWidget { - +class GLWidget : public QGLWidget, protected QOpenGLFunctions +{ Q_OBJECT public: GLWidget(QWidget *parent = 0); -- cgit v1.2.3