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

QVariant does not store enums as real enums

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.8
    • PySide
    • None
    • All

    Description

      When converting enums into QVariants it get stored as Shiboken enums and not Qt Enums.

      So in C++ side if we have code that check for enums the code will fail.

      Attachments

        1. qvariant_test.py
          3 kB
          renato araujo oliveira filho

        Issue Links

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

          Activity

            People

              renatofilho renato araujo oliveira filho
              renatofilho renato araujo oliveira filho
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change