1
0
forked from pool/virtualbox

- Fix build errors with Qt 5.11 - b.s.c. #1093731.

File "fixes_for_Qt5.11.patch" added.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=427
This commit is contained in:
Larry Finger 2018-05-17 23:05:08 +00:00 committed by Git OBS Bridge
parent 423b46b14c
commit a300bd55e5
3 changed files with 21 additions and 0 deletions

12
fixes_for_Qt5.11.patch Normal file
View File

@ -0,0 +1,12 @@
Index: VirtualBox-5.2.12/src/VBox/Frontends/VirtualBox/src/precomp_vcc.h
===================================================================
--- VirtualBox-5.2.12.orig/src/VBox/Frontends/VirtualBox/src/precomp_vcc.h
+++ VirtualBox-5.2.12/src/VBox/Frontends/VirtualBox/src/precomp_vcc.h
@@ -83,6 +83,7 @@
#include <QtWidgets/qgraphicsitem.h>
#include <QtWidgets/qgraphicslayoutitem.h>
#include <QtWidgets/qgraphicswidget.h>
+#include <QtWidgets/qbuttongroup.h>
#include <QtCore/QMetaType>
#include <QtGui/qevent.h>
#include <QtGui/qtouchdevice.h>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 17 23:02:29 UTC 2018 - Larry.Finger@gmail.com
- Fix build errors with Qt 5.11 - b.s.c. #1093731.
File "fixes_for_Qt5.11.patch" added.
-------------------------------------------------------------------
Fri May 11 14:21:59 UTC 2018 - Larry.Finger@lwfinger.net

View File

@ -118,6 +118,8 @@ Patch121: remove_vbox_video_build.patch
# Fix build for kernel 4.17
Patch123: fixes_for_4.17.patch
Patch124: gcc8-configure.patch
# Fix build for Qt 5.11
Patch125: fixes_for_Qt5.11.patch
#
BuildRequires: LibVNCServer-devel
BuildRequires: SDL-devel
@ -412,6 +414,7 @@ as an "extpack" for VirtualBox. The implementation is licensed under GPL.
%patch121 -p1
%patch123 -p1
%patch124 -p1
%patch125 -p1
#copy user manual
cp %{SOURCE1} UserManual.pdf