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

Invalid error message about recursive type instantiation

    XMLWordPrintable

Details

    Description

      An instantiation of the following type fails with the error message "SomeOtherType is instantiated recursively":

      SomeOtherType.qml:

      import QtQuick 2.0
      Rectangle {
          id: root
          width: 10
          height: 10
          color: "red"
          property Component intermediate: SomeOtherType {}
      }
      

      Instantiating SomeOtherType does not actually recursively instantiate, because it is used as a component.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              shausman Simon Hausmann
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes