From 9e3a3250e0542073092eee51c185234fcc6f40f7 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Wed, 8 Feb 2017 13:55:11 +0100 Subject: Windows QPA: Fix compilation with QT_NO_OPENGL Compilation error introduced in 7780ee9e5f20f80ab9e053058d0b6d92586cf876 Change-Id: Ia770ca207cdd25bb15c74d681ece391a844791a7 Reviewed-by: Friedemann Kleint --- src/plugins/platforms/windows/qwindowsglcontext.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/platforms/windows/qwindowsglcontext.h') diff --git a/src/plugins/platforms/windows/qwindowsglcontext.h b/src/plugins/platforms/windows/qwindowsglcontext.h index 4c804a612e..048b22bbf7 100644 --- a/src/plugins/platforms/windows/qwindowsglcontext.h +++ b/src/plugins/platforms/windows/qwindowsglcontext.h @@ -48,6 +48,7 @@ #include QT_BEGIN_NAMESPACE +#ifndef QT_NO_OPENGL class QDebug; @@ -228,7 +229,7 @@ private: GLenum (APIENTRY * m_getGraphicsResetStatus)(); bool m_lost; }; - +#endif QT_END_NAMESPACE #endif // QWINDOWSGLCONTEXT_H -- cgit v1.2.3