Fix an error with new OSG compilation
Ensure we include <QOpenGLContext> before any OSG headers
This commit is contained in:
parent
804f689da8
commit
d5789b5f74
2 changed files with 4 additions and 2 deletions
|
@ -16,11 +16,12 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <QOpenGLContext>
|
||||
|
||||
#include "OSGQtAdaption.hxx"
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <QOpenGLContext>
|
||||
#include <QWindow>
|
||||
#include <QThread>
|
||||
|
||||
|
|
|
@ -21,6 +21,8 @@
|
|||
#include <simgear/compiler.h>
|
||||
#include <atomic>
|
||||
|
||||
#include <QOpenGLContext>
|
||||
|
||||
#include "QQuickDrawable.hxx"
|
||||
|
||||
#include <QQmlComponent>
|
||||
|
@ -30,7 +32,6 @@
|
|||
|
||||
#include <QTimer>
|
||||
#include <QCoreApplication>
|
||||
#include <QOpenGLContext>
|
||||
#include <QOpenGLFunctions>
|
||||
#include <QQuickItem>
|
||||
#include <QQuickWindow>
|
||||
|
|
Loading…
Reference in a new issue