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

QML Loader raise 'TypeError: Cannot read property of null' on destruction

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P2: Important P2: Important
    • None
    • 5.11.0
    • None
    • Ubuntu 18.04
    • Linux/X11

      When I destroy a QOject based class in a QAbstractListModel model, the QML Loader delegate of the ListView is still trying to access its property. I get this message : 

      [+qrc:/main.qml:27+]: TypeError: Cannot read property 'text' of null

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

            qtqmlteam Qt Qml Team User
            libergia Alain Paradis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes