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

QML load and execution of components is reversed maybe?

    XMLWordPrintable

Details

    Description

      When you create very simple QML file and attach onCompleted to every element in the structure tree try appear to be created in the reversed order - form bottom to top.

      Example:

      import Qt 4.7

      Rectangle {
      width: 640
      height: 480

      Rectangle {
      Component.onCompleted:

      { console.log("r1") }

      }
      Rectangle {
      Component.onCompleted:

      { console.log("r2") }

      }
      }

      Expected result:
      r1
      r2

      Actual result(wrong one):
      r2
      r1

      Attachments

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

        Activity

          People

            aakenned Aaron Kennedy
            ranapat Ivailo Iliev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes