summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopenglvertexarrayobject.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-04-22 17:42:26 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-23 16:38:09 +0200
commit06b6784c28eceddcbbde12419d1fc1362a071ab0 (patch)
tree2a594222ba6741b2f852a6712054ad8bc7dc08bd /src/gui/opengl/qopenglvertexarrayobject.h
parent9c47a273ffb2f139a60faa2496351f71e379c9b4 (diff)
Fix header check: you must #include qconfig.h before QT_NO_OPENGL
Change-Id: I50518bd1b721d19e4712a6c11afb0a93afeaa7ea Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/gui/opengl/qopenglvertexarrayobject.h')
-rw-r--r--src/gui/opengl/qopenglvertexarrayobject.h2
1 files changed, 2 insertions, 0 deletions
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 <QtCore/qglobal.h>
+
#ifndef QT_NO_OPENGL
#include <QtCore/QObject>