diff options
| author | Diego Rondini <diego.rondini@kynetics.com> | 2017-07-20 14:07:01 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-21 11:00:47 +0200 |
| commit | 3c4f2cba1ff6925da20bcf4469526aceee80ad90 (patch) | |
| tree | 1cc1e71fdf4581e3dd07d739f010671ae4c947f2 /recipes-python/pyqt5/files/0001-qtabbar.sip-fix-build-with-accessibility-disabled.patch | |
| parent | 045e39b7d487733b03dc54590702e4c9373ed0f1 (diff) | |
| download | meta-qt5-3c4f2cba1ff6925da20bcf4469526aceee80ad90.tar.gz | |
python-pyqt5: include QtWidgets module
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-python/pyqt5/files/0001-qtabbar.sip-fix-build-with-accessibility-disabled.patch')
| -rw-r--r-- | recipes-python/pyqt5/files/0001-qtabbar.sip-fix-build-with-accessibility-disabled.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-python/pyqt5/files/0001-qtabbar.sip-fix-build-with-accessibility-disabled.patch b/recipes-python/pyqt5/files/0001-qtabbar.sip-fix-build-with-accessibility-disabled.patch new file mode 100644 index 00000000..7e1c7bf4 --- /dev/null +++ b/recipes-python/pyqt5/files/0001-qtabbar.sip-fix-build-with-accessibility-disabled.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | From 8a2f852417414e19d060da66cd7c5cba76e43c7d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Diego Rondini <diego.rondini@kynetics.com> | ||
| 3 | Date: Wed, 19 Jul 2017 14:17:51 +0200 | ||
| 4 | Subject: [PATCH] qtabbar.sip: fix build with accessibility disabled | ||
| 5 | |||
| 6 | Upstream-Status: Submitted | ||
| 7 | |||
| 8 | Signed-off-by: Diego Rondini <diego.rondini@kynetics.com> | ||
| 9 | --- | ||
| 10 | sip/QtWidgets/qtabbar.sip | 4 ++++ | ||
| 11 | 1 file changed, 4 insertions(+) | ||
| 12 | |||
| 13 | diff --git a/sip/QtWidgets/qtabbar.sip b/sip/QtWidgets/qtabbar.sip | ||
| 14 | index ffe2d3b..80ad816 100644 | ||
| 15 | --- a/sip/QtWidgets/qtabbar.sip | ||
| 16 | +++ b/sip/QtWidgets/qtabbar.sip | ||
| 17 | @@ -166,11 +166,15 @@ protected: | ||
| 18 | |||
| 19 | public: | ||
| 20 | %If (Qt_5_8_0 -) | ||
| 21 | +%If (PyQt_Accessibility) | ||
| 22 | QString accessibleTabName(int index) const; | ||
| 23 | %End | ||
| 24 | +%End | ||
| 25 | %If (Qt_5_8_0 -) | ||
| 26 | +%If (PyQt_Accessibility) | ||
| 27 | void setAccessibleTabName(int index, const QString &name); | ||
| 28 | %End | ||
| 29 | +%End | ||
| 30 | |||
| 31 | private: | ||
| 32 | QTabBar(const QTabBar &); | ||
| 33 | -- | ||
| 34 | 2.7.4 | ||
| 35 | |||
