Details
Description
Two Shiboken wrappers built from the same source are incompatible with each other. A trivial reproduction of this is to build PySide twice and compare the pyside2_qtcore_python.h header files (example attached). This is makes it so that a client can't replace the build of PySide we shipped with their own. An example of the incompatibility is that the trivial conversion str<->unicode will fail.
TypeError: # 'MyQDialog.MyQDialog' called with wrong argument types:
# MyQDialog.MyQDialog(str, str, str, str, PySide2.QtWidgets.QWidget)
# Supported signatures:
MyQDialog.MyQDialog(unicode, unicode, unicode, unicode, PySide2.QtWidgets.QWidget = None)
Attachments
For Gerrit Dashboard: PYSIDE-757 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
235330,3 | shiboken: Work around non-deterministic builds | 5.11 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
235351,2 | shiboken: Fix naming of the index macros | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
235356,3 | shiboken: Fix non-deterministic order of some SBK type indexes | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
235371,2 | shiboken: Fix order of type indexes | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
235621,3 | shiboken: Simplify TypeDatabase::findTypes() | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |