- Fix build with Qt 5.15, add fix_qt_5.15_build.patch OBS-URL: https://build.opensuse.org/request/show/812266 OBS-URL: https://build.opensuse.org/package/show/science/FreeCAD?expand=0&rev=120
22 lines
650 B
Diff
22 lines
650 B
Diff
From b2882c699b1444efadd9faee36855a965ac6a215 Mon Sep 17 00:00:00 2001
|
|
From: bartoszek <bartoszek.github@bartus.33mail.com>
|
|
Date: Thu, 4 Jun 2020 14:10:08 +0200
|
|
Subject: [PATCH] Fix qt5:5.15.0 build.
|
|
|
|
---
|
|
src/Mod/Image/Gui/OpenGLImageBox.cpp | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/Mod/Image/Gui/OpenGLImageBox.cpp b/src/Mod/Image/Gui/OpenGLImageBox.cpp
|
|
index 404a1a19f1b..bb22ae0f836 100644
|
|
--- a/src/Mod/Image/Gui/OpenGLImageBox.cpp
|
|
+++ b/src/Mod/Image/Gui/OpenGLImageBox.cpp
|
|
@@ -26,6 +26,7 @@
|
|
# include <QSurfaceFormat>
|
|
# include <QMessageBox>
|
|
# include <QPainter>
|
|
+# include <QPainterPath>
|
|
#endif
|
|
|
|
#if defined(__MINGW32__)
|