summaryrefslogtreecommitdiffstats
path: root/examples/opengl/textures/glwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/textures/glwidget.h')
-rw-r--r--examples/opengl/textures/glwidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opengl/textures/glwidget.h b/examples/opengl/textures/glwidget.h
index 11a9818e19..757a7df627 100644
--- a/examples/opengl/textures/glwidget.h
+++ b/examples/opengl/textures/glwidget.h
@@ -44,7 +44,7 @@
#include <QtWidgets>
#include <QGLWidget>
-class QGLShaderProgram;
+QT_FORWARD_DECLARE_CLASS(QGLShaderProgram);
class GLWidget : public QGLWidget
{