Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
5b69d768
Commit
5b69d768
authored
Mar 07, 2018
by
Martin Schultz
Browse files
use forward declaration for QOpenGLWidget and format
parent
b9e6d2cb
Changes
2
Hide whitespace changes
Inline
Side-by-side
BasePlugin/PluginFunctions.hh
View file @
5b69d768
...
...
@@ -65,11 +65,11 @@
#ifndef PLUGINFUNCTIONS_HH
#define PLUGINFUNCTIONS_HH
#include
<OpenFlipper/common/Types.hh>
#include
<QPair>
#include
<QFileDialog>
#include
<OpenFlipper/common/Types.hh>
#include
<OpenFlipper/common/OFGLWidget.hh>
#include
<ACG/Scenegraph/SceneGraph.hh>
...
...
common/OFGLWidget.hh
View file @
5b69d768
...
...
@@ -54,8 +54,9 @@
#if (QT_VERSION >= QT_VERSION_CHECK(5, 4, 4))
#include
<QOpenGLWidget>
#include
<QSurfaceFormat>
//only forward declaration
class
QOpenGLWidget
;
class
QSurfaceFormat
;
typedef
QOpenGLWidget
OFGLWidget
;
typedef
QSurfaceFormat
OFGLFormat
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment