[Buildroot] [PATCH v6 9/9] package/python-pyqt5: add patch to fix build with Qt 5.8.0
Zoltan Gyarmati
mr.zoltan.gyarmati at gmail.com
Mon Feb 6 08:57:34 UTC 2017
Dear Arnout, Peter, Thomas,
ok, thanks for the feedbacks, I'll tailor together a new version in the
upcoming days,
regards
Zoltan Gyarmati
https://zgyarmati.de
On 02/03/2017 12:15 AM, Arnout Vandecappelle wrote:
>
> On 31-01-17 08:59, Zoltan Gyarmati wrote:
>> Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati at gmail.com>
>> ---
>> ...owOkButtonHint-and-WindowCancelButtonHint.patch | 27 ++++++++++++++++++++++
> This is potentially problematic. What if Qt 5.6 is used?
>
> Probably it's not a big issue, it just means you can't use these two classes
> anymore in python, which is probably OK.
>
> Regards,
> Arnout
>
>> 1 file changed, 27 insertions(+)
>> create mode 100644 package/python-pyqt5/0003-remove-WindowOkButtonHint-and-WindowCancelButtonHint.patch
>>
>> diff --git a/package/python-pyqt5/0003-remove-WindowOkButtonHint-and-WindowCancelButtonHint.patch b/package/python-pyqt5/0003-remove-WindowOkButtonHint-and-WindowCancelButtonHint.patch
>> new file mode 100644
>> index 0000000..146cce0
>> --- /dev/null
>> +++ b/package/python-pyqt5/0003-remove-WindowOkButtonHint-and-WindowCancelButtonHint.patch
>> @@ -0,0 +1,27 @@
>> +From bb7cbdede46f72468bbb1b9bbefd43a1dbad21c0 Mon Sep 17 00:00:00 2001
>> +From: Zoltan Gyarmati <mr.zoltan.gyarmati at gmail.com>
>> +Date: Mon, 30 Jan 2017 18:28:15 +0100
>> +Subject: [PATCH] remove WindowOkButtonHint and WindowCancelButtonHint from
>> + qnamespace.sip as they are removed from qt5.8
>> +
>> +Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati at gmail.com>
>> +---
>> + sip/QtCore/qnamespace.sip | 2 --
>> + 1 file changed, 2 deletions(-)
>> +
>> +diff --git a/sip/QtCore/qnamespace.sip b/sip/QtCore/qnamespace.sip
>> +index 2db83b7..559f410 100644
>> +--- a/sip/QtCore/qnamespace.sip
>> ++++ b/sip/QtCore/qnamespace.sip
>> +@@ -209,8 +209,6 @@ namespace Qt
>> + WindowContextHelpButtonHint,
>> + WindowShadeButtonHint,
>> + WindowStaysOnTopHint,
>> +- WindowOkButtonHint,
>> +- WindowCancelButtonHint,
>> + WindowStaysOnBottomHint,
>> + WindowCloseButtonHint,
>> + MacWindowToolBarButtonHint,
>> +--
>> +2.7.4
>> +
>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170206/a63c157e/attachment-0001.asc>
More information about the buildroot
mailing list