Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenFlipper
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
5b69d768
Commit
5b69d768
authored
Mar 07, 2018
by
Martin Schultz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use forward declaration for QOpenGLWidget and format
parent
b9e6d2cb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
BasePlugin/PluginFunctions.hh
BasePlugin/PluginFunctions.hh
+1
-1
common/OFGLWidget.hh
common/OFGLWidget.hh
+3
-2
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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