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

"Cannot assign object to list property "data"" when declaring QML instance of C++ item declared in lib

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.12
    • None
    • Ubuntu 18.04

    Description

      I get the following error when running the attached application:

      qrc:/qml/main.qml:14 Cannot assign object to list property "data"
      

      So far, I've only seen the error with a static build (reproduced with separate debug and release builds) of Qt 5.12. I tested with a dynamic debug build of Qt 5.12 and it runs fine.

      I would attach a qmake version of the project, but I don't know how to replicate it easily.

      Attachments

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

        Activity

          People

            shausman Simon Hausmann
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes