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

shiboken generates bad flags names

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4: Low
    • 5.11.0
    • 5.6, 5.9, 5.11.0
    • Shiboken
    • None

    Description

      When shiboken generated the names of a flags structure, it used the plain name
      in the type name field.

      When we turned to using the limited API, all types became heap types via the
      new type creation API, that does not allow plain names. A dot must be inserted
      to parse some module name off.
      The used prefix was arbitrarily chosen as "PySide2.libpyside.".

      When now support for type hints was developed, everything worked fine but
      flags names.
      Example: We got "flags: PySide2.libpyside.ProcessEventsFlags" back, although it
      should have been "flags: PySide2.QtCore.QEventLoop.ProcessEventsFlags".

      Attachments

        For Gerrit Dashboard: PYSIDE-747
        # Subject Branch Project Status CR V

        Activity

          People

            ctismer Christian Tismer
            ctismer Christian Tismer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes