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

QML-managed objects are garbage collected when stored in QML-declared list properties

XMLWordPrintable

    • e3adfe617 (dev), 360b5091f (dev), 3cb2e15ee (6.6), e534d05ab (tqtc/lts-6.5)

      The attached example should print the "Variable" objects just added to the list, but it prints null. If you omit the gc() call in the middle of Main.qml it works.

        For Gerrit Dashboard: QTBUG-117793
        # Subject Branch Project Status CR V

            ulherman Ulf Hermann
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: