Fix header check: you must #include qconfig.h before QT_NO_OPENGL

Change-Id: I50518bd1b721d19e4712a6c11afb0a93afeaa7ea
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
bb10
Thiago Macieira 2013-04-22 17:42:26 -07:00 committed by The Qt Project
parent 9c47a273ff
commit 06b6784c28
2 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,8 @@
#ifndef QOPENGLTIMERQUERY_H
#define QOPENGLTIMERQUERY_H
#include <QtCore/qglobal.h>
#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
#include <QtCore/QObject>

View File

@ -42,6 +42,8 @@
#ifndef QOPENGLVERTEXARRAYOBJECT_H
#define QOPENGLVERTEXARRAYOBJECT_H
#include <QtCore/qglobal.h>
#ifndef QT_NO_OPENGL
#include <QtCore/QObject>