diff options
Diffstat (limited to 'dev-python/PyQt5/files')
-rw-r--r-- | dev-python/PyQt5/files/PyQt5-5.10.1-fix-testlib.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-python/PyQt5/files/PyQt5-5.10.1-fix-testlib.patch b/dev-python/PyQt5/files/PyQt5-5.10.1-fix-testlib.patch new file mode 100644 index 000000000000..38a20bc36d12 --- /dev/null +++ b/dev-python/PyQt5/files/PyQt5-5.10.1-fix-testlib.patch @@ -0,0 +1,17 @@ +From: Fabian Vogt <fabian@ritter-vogt.de> +Subject: QTest::waitForEvents() is internal only + +Must not be used, got removed with Qt 5.11. + +Index: PyQt5_gpl-5.10.1/sip/QtTest/qtestmouse.sip +=================================================================== +--- a/sip/QtTest/qtestmouse.sip ++++ b/sip/QtTest/qtestmouse.sip +@@ -41,7 +41,6 @@ namespace QTest + void mousePress(QWidget *widget, Qt::MouseButton button, Qt::KeyboardModifiers modifier = 0, QPoint pos = QPoint(), int delay = -1); + void mouseRelease(QWidget *widget, Qt::MouseButton button, Qt::KeyboardModifiers modifier = 0, QPoint pos = QPoint(), int delay = -1); + void mouseEvent(QTest::MouseAction action, QWidget *widget, Qt::MouseButton button, Qt::KeyboardModifiers modifier, QPoint pos, int delay = -1); +- void waitForEvents() /ReleaseGIL/; + void mouseEvent(QTest::MouseAction action, QWindow *window, Qt::MouseButton button, Qt::KeyboardModifiers modifier, QPoint pos, int delay = -1); + void mousePress(QWindow *window, Qt::MouseButton button, Qt::KeyboardModifiers modifier = Qt::KeyboardModifiers(), QPoint pos = QPoint(), int delay = -1); + void mouseRelease(QWindow *window, Qt::MouseButton button, Qt::KeyboardModifiers modifier = Qt::KeyboardModifiers(), QPoint pos = QPoint(), int delay = -1); |