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

Passing a Component to methods expecting QQuickItem succeeds in QML

    XMLWordPrintable

    Details

    • Commits:
      2a8fe8d59c80b0f3d0dfea9fb2b8526505d03e24

      Description

      Passing a Component{} to a QQuickItem * property in QML succeeds, producing a non-null argument in the setter, for example, or in any other methods expecting a QQuickItem *.
      The argument is however invalid, and this will cause a crash.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              ulherman Ulf Hermann
              Reporter:
              paangele Paolo Angelelli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes