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

Remove automatic parenting in Qt.createComponent

    XMLWordPrintable

Details

    Description

      Qt.createComponent(...) automatically sets the parent of the created object to the running QML engine. This prevents the object from being collected, and thus leaks memory. This should be removed once clients have had an opportunity to update their code to set the parent explicitly.

      Attachments

        Issue Links

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

          Activity

            People

              mvogt Matthew Vogt (closed Nokia identity) (Inactive)
              mvogt Matthew Vogt (closed Nokia identity) (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes