0003-sip-add_qws.patch 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. Add WS_QWS in the Platforms variable and to define some types
  2. Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
  3. Signed-off-by: Sergey Kostanbaev <sergey.kostanbaev@gmail.com>
  4. ---
  5. Index: PyQt-x11-gpl-4.11.3/sip/QtCore/QtCoremod.sip
  6. ===================================================================
  7. --- PyQt-x11-gpl-4.11.3.orig/sip/QtCore/QtCoremod.sip
  8. +++ PyQt-x11-gpl-4.11.3/sip/QtCore/QtCoremod.sip
  9. @@ -29,7 +29,7 @@
  10. %Timeline {Qt_4_1_0 Qt_4_1_1 Qt_4_1_2 Qt_4_1_3 Qt_4_2_0 Qt_4_2_1 Qt_4_2_2 Qt_4_2_3 Qt_4_3_0 Qt_4_3_1 Qt_4_3_2 Qt_4_3_3 Qt_4_3_4 Qt_4_4_0 Qt_4_4_1 Qt_4_4_2 Qt_4_5_0 Qt_4_5_1 Qt_4_5_2 Qt_4_5_3 Qt_4_6_0 Qt_4_6_1 Qt_4_6_2 Qt_4_6_3 Qt_4_7_0 Qt_4_7_1 Qt_4_7_2 Qt_4_7_3 Qt_4_7_4 Qt_4_8_0 Qt_4_8_1 Qt_4_8_2 Qt_4_8_3 Qt_4_8_4 Qt_4_8_5 Qt_4_8_6 Qt_5_0_0}
  11. -%Platforms {WS_X11 WS_WIN WS_MACX}
  12. +%Platforms {WS_X11 WS_QWS WS_WIN WS_MACX}
  13. %Feature PyQt_Accessibility
  14. %Feature PyQt_SessionManager
  15. Index: PyQt-x11-gpl-4.11.3/sip/QtCore/qprocess.sip
  16. ===================================================================
  17. --- PyQt-x11-gpl-4.11.3.orig/sip/QtCore/qprocess.sip
  18. +++ PyQt-x11-gpl-4.11.3/sip/QtCore/qprocess.sip
  19. @@ -28,7 +28,7 @@
  20. %If (WS_WIN)
  21. typedef void *Q_PID;
  22. %End
  23. -%If (WS_X11 || WS_MACX)
  24. +%If (WS_X11 || WS_QWS || WS_MACX)
  25. typedef qint64 Q_PID;
  26. %End
  27. Index: PyQt-x11-gpl-4.11.3/sip/QtGui/qwindowdefs.sip
  28. ===================================================================
  29. --- PyQt-x11-gpl-4.11.3.orig/sip/QtGui/qwindowdefs.sip
  30. +++ PyQt-x11-gpl-4.11.3/sip/QtGui/qwindowdefs.sip
  31. @@ -27,7 +27,7 @@
  32. typedef QList<QWidget*> QWidgetList;
  33. %If (- Qt_5_0_0)
  34. -%If (WS_X11)
  35. +%If (WS_X11 || WS_QWS)
  36. // X11 specific definitions.
  37. typedef unsigned long WId;
  38. %End