From 103086e3796081661c1d718f4f2eed4cadd96dfc Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Sat, 4 Apr 2015 21:20:16 +0200 Subject: Replace with where applicable To avoid source-incompatibilites, wrap in QT_DEPRECATED_SINCE(5, 5) in public headers. Change-Id: Ic3398f4f330e15a3b55065858add26b90fd70e6c Reviewed-by: Olivier Goffart (Woboq GmbH) --- src/gui/opengl/qopenglversionfunctions.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/opengl/qopenglversionfunctions.h') diff --git a/src/gui/opengl/qopenglversionfunctions.h b/src/gui/opengl/qopenglversionfunctions.h index fcf665f97e..2fd3b9dab9 100644 --- a/src/gui/opengl/qopenglversionfunctions.h +++ b/src/gui/opengl/qopenglversionfunctions.h @@ -47,7 +47,10 @@ #ifndef QT_NO_OPENGL +#if QT_DEPRECATED_SINCE(5, 5) #include +#endif +#include #include #include -- cgit v1.2.3