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

Details

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

    Description

      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 )

      Attachments

        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.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes