From 06b6784c28eceddcbbde12419d1fc1362a071ab0 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 22 Apr 2013 17:42:26 -0700 Subject: Fix header check: you must #include qconfig.h before QT_NO_OPENGL Change-Id: I50518bd1b721d19e4712a6c11afb0a93afeaa7ea Reviewed-by: Sean Harmer --- src/gui/opengl/qopengltimerquery.h | 2 ++ src/gui/opengl/qopenglvertexarrayobject.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/gui/opengl') diff --git a/src/gui/opengl/qopengltimerquery.h b/src/gui/opengl/qopengltimerquery.h index 649e80d6c0..c1cada9bdb 100644 --- a/src/gui/opengl/qopengltimerquery.h +++ b/src/gui/opengl/qopengltimerquery.h @@ -42,6 +42,8 @@ #ifndef QOPENGLTIMERQUERY_H #define QOPENGLTIMERQUERY_H +#include + #if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include diff --git a/src/gui/opengl/qopenglvertexarrayobject.h b/src/gui/opengl/qopenglvertexarrayobject.h index d5226d3ebd..569aeea730 100644 --- a/src/gui/opengl/qopenglvertexarrayobject.h +++ b/src/gui/opengl/qopenglvertexarrayobject.h @@ -42,6 +42,8 @@ #ifndef QOPENGLVERTEXARRAYOBJECT_H #define QOPENGLVERTEXARRAYOBJECT_H +#include + #ifndef QT_NO_OPENGL #include -- cgit v1.2.3