We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f43c1bd commit dba8512Copy full SHA for dba8512
src/gui/QGLView.h
@@ -1,9 +1,9 @@
1
#pragma once
2
3
#include "glview/system-gl.h"
4
+
5
#include <QImage>
6
#include <QMouseEvent>
-#include <QOpenGLContext>
7
#include <QPoint>
8
#include <QWheelEvent>
9
#include <QWidget>
@@ -104,5 +104,7 @@ private slots:
104
};
105
106
/* These are defined in QLGView2.cc. See the commentary there. */
107
+// Can't include <QOpenGLContext>, as it will clash with glew. Forward declare.
108
+class QOpenGLContext;
109
QOpenGLContext *getGLContext();
110
void setGLContext(QOpenGLContext *);
0 commit comments