Skip to content

Commit

Permalink
include QOpenGLWidget
Browse files Browse the repository at this point in the history
Add the openglwidget to the project file
  • Loading branch information
jfmorgenstern authored and Kjell Morgenstern committed Feb 3, 2024
1 parent a6f20fd commit 26499f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phoenix.pro
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,9 @@ macx {
}

QT += concurrent core gui network printsupport serialport sql svg widgets xml

equals(QT_MAJOR_VERSION, 6) {
QT += core5compat svgwidgets
QT += core5compat svgwidgets openglwidgets
}

RC_FILE = fritzing.rc
Expand Down
1 change: 1 addition & 0 deletions src/sketch/sketchwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ along with Fritzing. If not, see <http://www.gnu.org/licenses/>.
#include <QClipboard>
#include <QScrollBar>
#include <QStatusBar>
#include <QOpenGLWidget>

#include <limits>

Expand Down

0 comments on commit 26499f1

Please sign in to comment.