python-pyqt5: add Qt 5.11 compatibility patch
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 18 Aug 2018 21:02:08 +0000 (23:02 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 19 Aug 2018 19:50:34 +0000 (21:50 +0200)
commitdf5bf982de4b038d0af18a09d98ce34d94c3ae95
treea276077d7f9c173db88d458e895c46aa9b89a575
parent052d3cbb0ea6aec7123b8595780d6f819dc7c925
python-pyqt5: add Qt 5.11 compatibility patch

This commit adds a patch to python-pyqt5 to make it build properly
against Qt 5.11.

PyQt5 is using a dual-licensing model, and the commercial company
behind it (RiverBank) only provides release tarballs, and no public
Git repository, so we cannot see the individual changes they make. By
diffing the PyQt5 5.10 and 5.11 releases, we could see that they opted
for dropping entirely support for the waitForEvents() method, rather
than keeping it for Qt < 5.11. We take the same approach in the below
patch, since this is anyway what will happen when we will bump to
PyQt5 5.11.

The patch is not Git-formatted, because there is no upstream Git
repository for this project.

Fixes:

  http://autobuild.buildroot.net/results/1f1e92374fe71a1d4343243db5f530c33db06698/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/python-pyqt5/0004-drop-qttest-qtestmouse-waitforevents.patch [new file with mode: 0644]