Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-52400

Error writing QVariant(QList<SubClassA*> ) inside property QList<ClassA*>

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.6.0
    • Core: Object Model
    • None
    • Windows 7 and linux.

      Until Qt5.5.1 i was writing to a qproperty a list of a subclass using QMetaProperty::write()

      Now in 5.6 i have to convert QList<SubClassA*> to QList<ClassA*> to be able to write it successfully.

      Note that SubClassA inherit ClassA

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

            thiago Thiago Macieira
            bnogal Benjamín Nogal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes