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

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.12.0
    • 5.11.2
    • Shiboken
    • None
    • All
    • 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

        1. pyside817_protected_scoped_enum_repro.diff
          2 kB
          Friedemann Kleint
        2. pyside817_public_scoped_enum_repro.diff
          3 kB
          Friedemann Kleint

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              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