Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-757

Shiboken produces non-deterministic bindings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.11.1
    • 5.6
    • Shiboken
    • None
    • 285033392e3c5a29d35cf985508309f2a9d61628 (pyside-setup/5.11, 26.7.2018, 5.11.1)

    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

        Activity

          People

            kleint Friedemann Kleint
            badsingleton Felix Bourbonnais
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes