From 965b5b7ae07f8abec580729001abd61e8db729e5 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 26 May 2016 16:31:02 +0200 Subject: [PATCH] OpenGL legacy example: Fix compilation in namespaced builds. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I6b2f3e8c240e105c73008fa61f9ed50cc9d982ac Reviewed-by: Alexandru Croitor Reviewed-by: Laszlo Agocs Reviewed-by: Topi Reiniƶ --- examples/opengl/legacy/shared/qtlogo.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/opengl/legacy/shared/qtlogo.h b/examples/opengl/legacy/shared/qtlogo.h index 9bd15a1431..c5d8db9f9f 100644 --- a/examples/opengl/legacy/shared/qtlogo.h +++ b/examples/opengl/legacy/shared/qtlogo.h @@ -44,7 +44,8 @@ #include #include -class QOpenGLFunctions_1_1; +QT_FORWARD_DECLARE_CLASS(QOpenGLFunctions_1_1) + class Patch; struct Geometry;