Fix header check: you must #include qconfig.h before QT_NO_OPENGL
Change-Id: I50518bd1b721d19e4712a6c11afb0a93afeaa7ea Reviewed-by: Sean Harmer <sean.harmer@kdab.com>bb10
parent
9c47a273ff
commit
06b6784c28
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@
|
|||
#ifndef QOPENGLVERTEXARRAYOBJECT_H
|
||||
#define QOPENGLVERTEXARRAYOBJECT_H
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
#ifndef QT_NO_OPENGL
|
||||
|
||||
#include <QtCore/QObject>
|
||||
|
|
|
|||
Loading…
Reference in New Issue