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

Calling QQmlEngine::setObjectOwnership before QJSEngine::newQObject has no effect

    XMLWordPrintable

Details

    • 76e0a3b4da22fab6c5fb94e12f3a94fba83fd042 (qtdeclarative)

    Description

      It should be possible to apply the ownership rule of a QObject at any point in time, even before calling QJSEngine::newQObject.

      The implementation of QJSEngine::newQObject should set ownership mode only if it wasn't set before.

      Attachments

        Issue Links

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

          Activity

            People

              shausman Simon Hausmann
              shausman Simon Hausmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes