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

Instantiating a QColor with a QColor subclass instance in ctor fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.5.0
    • PySide
    • None
    • Windows

      Instanciating a QColor from a subclass instance leads to a TypeError:

      "TypeError: QVariant must be holding a QColor"

       

      Example attached.

      I think this worked in PySide2 (and also in other Qt bindings )

        1. pyside2330.py
          0.6 kB
        2. test.py
          0.2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            crmaurei Cristian Maureira-Fredes
            phil__65 Philipp Temminghoff
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes