summaryrefslogtreecommitdiffstats
path: root/examples/activeqt/opengl/glbox.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-03-30 07:38:05 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-03-30 10:31:09 +0200
commit1fb1936afb00a408799c3f8a4755da21450289b8 (patch)
tree4ae568cf34eb450da25da39f0379e92337b95740 /examples/activeqt/opengl/glbox.h
parent52c02908abecbb9fd4afcb0de6a0b50b3ae85827 (diff)
OpenGL example: Port to QOpenGLWidget
Change-Id: I81b1b2b251a3ffca2f925d5d61f88ac71728ca2b Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/activeqt/opengl/glbox.h')
-rw-r--r--examples/activeqt/opengl/glbox.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/activeqt/opengl/glbox.h b/examples/activeqt/opengl/glbox.h
index b1bd828..6d73997 100644
--- a/examples/activeqt/opengl/glbox.h
+++ b/examples/activeqt/opengl/glbox.h
@@ -57,12 +57,12 @@
#ifndef GLBOX_H
#define GLBOX_H
-#include <QtOpenGL>
+#include <QOpenGLWidget>
#include <QOpenGLFunctions_1_1>
//! [0]
#include <QAxBindable>
-class GLBox : public QGLWidget,
+class GLBox : public QOpenGLWidget,
public QOpenGLFunctions_1_1,
public QAxBindable
{