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

shiboken generates bad flags names

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Fixed
    • Affects Version/s: 5.6, 5.9, 5.11.0, dev
    • Fix Version/s: 5.11.0
    • Component/s: Shiboken
    • Labels:
      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            ctismer Christian Tismer
            Reporter:
            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