python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / python-pyqt / 0005-sip-fix_qws_handle.patch
blob80623d112a85bf51027450e8e1a97a9619c43fd1
1 Fix build issue in QWS flavor
3 Change HANDLE to void* to get rid of :
4 buildroot/output/build/python-pyqt-4.11.3/QtCore/sipQtCoreQThread.cpp:318:50:
5 error: invalid conversion from 'Qt::HANDLE {aka void*}' to 'long
6 unsigned int' [-fpermissive] error during compilation.
8 Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
9 Signed-off-by: Sergey Kostanbaev <sergey.kostanbaev@gmail.com>
10 ---
11 Index: PyQt-x11-gpl-4.11.3/sip/QtCore/qnamespace.sip
12 ===================================================================
13 --- PyQt-x11-gpl-4.11.3.orig/sip/QtCore/qnamespace.sip
14 +++ PyQt-x11-gpl-4.11.3/sip/QtCore/qnamespace.sip
15 @@ -1673,6 +1673,9 @@ namespace Qt
16 %If (WS_X11)
17 typedef unsigned long HANDLE;
18 %End
19 +%If (WS_QWS)
20 + typedef void* HANDLE;
21 +%End
22 %End
23 %If (PyQt_Deprecated_5_0)
24 typedef Qt::WindowFlags WFlags;