summaryrefslogtreecommitdiffstats
path: root/examples/opengl/legacy/shared/qtlogo.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/legacy/shared/qtlogo.h')
-rw-r--r--examples/opengl/legacy/shared/qtlogo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/opengl/legacy/shared/qtlogo.h b/examples/opengl/legacy/shared/qtlogo.h
index 92ada8eba5..ed2d7d750d 100644
--- a/examples/opengl/legacy/shared/qtlogo.h
+++ b/examples/opengl/legacy/shared/qtlogo.h
@@ -54,7 +54,8 @@
#include <QObject>
#include <QColor>
-class QOpenGLFunctions_1_1;
+QT_FORWARD_DECLARE_CLASS(QOpenGLFunctions_1_1)
+
class Patch;
struct Geometry;