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

Using a component with Component {} as the root element as another file Component again crashes in QDeclarartiveComponent

XMLWordPrintable

      Using a component with Component {} as the root element as another file Component again crashes in QDeclarartiveComponent.

      If you have for example a component like flickr/mobile/ListDelegate.qml

      Component {
          Item {
              id: wrapper; width: wrapper.ListView.view.width; height: 86
              Item {
                [...]
              }
          }
      }
      

      Then using this component as a root component like this:

      test.qml:

      import QtQuick 1.0
      import "mobile" as Mobile
      Mobile.ListDelegate { }
      

      will crash.

      Since we sometimes turn elements into components in the tooling this leads to problems.

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

            aakenned Aaron Kennedy
            thohartm Thomas Hartmann
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes