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

shiboken: Code generated for protected methods using scoped enums does not compile with protected hack

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.11.2
    • Fix Version/s: 5.12.0
    • Component/s: Shiboken
    • Labels:
      None
    • Platform/s:
      All
    • Commits:
      f5f9ad6b7af6ae85202e3107a94a0d762c0ee3f3 (pyside-setup/dev, 1.10.2018, 5.12)

      Description

      In the public wrappers, enums are unconditionally converted to int. This does not work for enum classes.

      For protected scoped enums. this can' t be helped. Methods need to be rejected.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                kleint Friedemann Kleint
                Reporter:
                kleint Friedemann Kleint
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes