forked from pool/virtualbox
Accepting request 789067 from home:alarrosa:branches:Virtualization
- Add patch to fix missing include with Qt 5.15: * fix-missing-includes-with-qt-5.15.patch OBS-URL: https://build.opensuse.org/request/show/789067 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=542
This commit is contained in:
parent
ee1b9cadf2
commit
243616fc78
68
fix-missing-includes-with-qt-5.15.patch
Normal file
68
fix-missing-includes-with-qt-5.15.patch
Normal file
@ -0,0 +1,68 @@
|
||||
Index: VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/globals/UIImageTools.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-6.1.4.orig/src/VBox/Frontends/VirtualBox/src/globals/UIImageTools.cpp
|
||||
+++ VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/globals/UIImageTools.cpp
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
/* Qt includes: */
|
||||
#include <QPainter>
|
||||
+#include <QPainterPath>
|
||||
|
||||
/* GUI include */
|
||||
#include "UIImageTools.h"
|
||||
Index: VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-6.1.4.orig/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.cpp
|
||||
+++ VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.cpp
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <QApplication>
|
||||
#include <QLabel>
|
||||
#include <QPainter>
|
||||
+#include <QPainterPath>
|
||||
#include <QPaintEvent>
|
||||
#include <QStyle>
|
||||
#include <QVBoxLayout>
|
||||
Index: VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.h
|
||||
===================================================================
|
||||
--- VirtualBox-6.1.4.orig/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.h
|
||||
+++ VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.h
|
||||
@@ -24,6 +24,7 @@
|
||||
/* Qt includes: */
|
||||
#include <QIcon>
|
||||
#include <QWidget>
|
||||
+#include <QPainterPath>
|
||||
|
||||
/* GUI includes: */
|
||||
#include "UILibraryDefs.h"
|
||||
@@ -34,7 +35,6 @@ class QIcon;
|
||||
class QLabel;
|
||||
class QMouseEvent;
|
||||
class QObject;
|
||||
-class QPainterPath;
|
||||
class QPaintEvent;
|
||||
class QResizeEvent;
|
||||
class QString;
|
||||
Index: VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/widgets/UIMiniToolBar.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-6.1.4.orig/src/VBox/Frontends/VirtualBox/src/widgets/UIMiniToolBar.cpp
|
||||
+++ VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/widgets/UIMiniToolBar.cpp
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <QMenu>
|
||||
#include <QMoveEvent>
|
||||
#include <QPainter>
|
||||
+#include <QPainterPath>
|
||||
#include <QStateMachine>
|
||||
#include <QStyle>
|
||||
#include <QTimer>
|
||||
Index: VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/widgets/UIMenuToolBar.cpp
|
||||
===================================================================
|
||||
--- VirtualBox-6.1.4.orig/src/VBox/Frontends/VirtualBox/src/widgets/UIMenuToolBar.cpp
|
||||
+++ VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/widgets/UIMenuToolBar.cpp
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <QApplication>
|
||||
#include <QHBoxLayout>
|
||||
#include <QPainter>
|
||||
+#include <QPainterPath>
|
||||
#include <QStyle>
|
||||
#include <QToolButton>
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 27 09:32:21 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
- Add patch to fix missing include with Qt 5.15:
|
||||
* fix-missing-includes-with-qt-5.15.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 24 01:51:36 UTC 2020 - Larry Finger <Larry.Finger@gmail.com>
|
||||
|
||||
|
@ -154,6 +154,8 @@ Patch134: fixes_for_5.5.patch
|
||||
Patch135: fixes_for_5.6.patch
|
||||
# Fis VBoxClient Crashes
|
||||
Patch136: VirtualBox-6.1.4-VBoxClient-vmsvga-x11-crash.patch
|
||||
# Fix build for Qt 5.15
|
||||
Patch137: fix-missing-includes-with-qt-5.15.patch
|
||||
Patch999: virtualbox-fix-ui-background-color.patch
|
||||
#
|
||||
BuildRequires: LibVNCServer-devel
|
||||
@ -460,6 +462,7 @@ as an "extpack" for VirtualBox. The implementation is licensed under GPL.
|
||||
%patch135 -p1
|
||||
%endif
|
||||
%patch136 -p1
|
||||
%patch137 -p1
|
||||
# make VB UI background colors look sane again
|
||||
%patch999 -p1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user