Skip to content

Commit

Permalink
Cam sim fix (FreeCAD#14275)
Browse files Browse the repository at this point in the history
* Resolves missing include for GCC14 compilers

* Resolves build issues with Qt6 by removing unused include and function call.

* Revert "Resolves missing include for GCC14 compilers"

This reverts commit ad7fc03.
  • Loading branch information
obelisk79 committed May 28, 2024
1 parent 888ffcf commit 88a5853
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Mod/CAM/PathSimulator/AppGL/DlgCAMSimulator.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@

#include <QWindow>
#include <QOpenGLExtraFunctions>

#include <QtGui/qpainter.h>
#include <QPainter>
#include <QOpenGLPaintDevice>



namespace MillSim
Expand Down Expand Up @@ -89,7 +91,6 @@ class DlgCAMSimulator: public QWindow, public QOpenGLExtraFunctions
bool mNeedsInitialize = false;

QOpenGLContext* mContext = nullptr;
QOpenGLPaintDevice* mDevice = nullptr;
MillSim::MillSimulation* mMillSimulator = nullptr;
static DlgCAMSimulator* mInstance;
SimStock mStock = {0, 0, 0, 1, 1, 1, 1};
Expand Down

0 comments on commit 88a5853

Please sign in to comment.