Gui: Remove QtOpenGL.h.

This commit is contained in:
Joao Matos
2025-02-24 21:16:27 +00:00
parent 91e94ba1dd
commit 3b05b61de2
27 changed files with 73 additions and 58 deletions

View File

@@ -411,10 +411,9 @@ bool MeshRenderer::matchMaterial(SoState* state) const
return p->pcolors == pcolors;
}
bool MeshRenderer::shouldRenderDirectly(bool direct)
bool MeshRenderer::shouldRenderDirectly([[maybe_unused]] bool direct)
{
#ifdef RENDER_GL_VAO
(void)direct;
return false;
#else
return direct;

View File

@@ -30,8 +30,6 @@
# include <Inventor/nodes/SoImage.h>
#endif
#include <QtOpenGL.h>
#include <Gui/Application.h>
#include <Gui/Document.h>
#include <Gui/Selection/Selection.h>
@@ -107,7 +105,7 @@ Teapots(Gui::View3DInventorViewer* v) :view(v)
rubberBandIsShown = false;
fbObject = new QOpenGLFramebufferObject(size[0],size[1],
QOpenGLFramebufferObject::Depth);
QOpenGLFramebufferObject::Depth);
resizeGL(size[0],size[1]);
rubberBandIsShown = true;

View File

@@ -24,7 +24,6 @@
#ifndef SANDBOXGUI_OVERLAY_H
#define SANDBOXGUI_OVERLAY_H
#include <QtOpenGL.h>
#include <Gui/MouseSelection.h>
#include <QColor>
#include <QPoint>

View File

@@ -34,8 +34,6 @@
# include <Inventor/SbLinear.h>
#endif
#include <QtOpenGL.h>
#include "Workbench.h"
#include <App/Application.h>
#include <Gui/MenuManager.h>

View File

@@ -29,6 +29,7 @@
#include <QContextMenuEvent>
#include <QLabel>
#include <QMouseEvent>
#include <QOpenGLWidget>
#include <QPaintEvent>
#include <QPainter>
#include <QScrollBar>