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

StackView error on ARM (i.MX6)

    XMLWordPrintable

Details

    Description

      QtQuick StackView does not work on i.MX6 (with eglfs). I've tested on simple example:

      import QtQuick 2.0
      import QtQuick.Controls 1.0
      
      Item {
          id: root; width: 800; height: 480
          Rectangle  {id: page; color: "red"}
          StackView {
              anchors.fill: parent
              initialItem: Rectangle { color: "red" }
          }
      }
      

      And it gives strange error when trying to run it:

      # qmlscene stackview.qml 
      [...]
      file:///opt/app_rw1/qt5/qml/QtQuick/Controls/StackView.qml:546: TypeError: Cannot read property '0' of undefined
      

      I suspect that it might be connected with QML engine as this line is:

      immediate = (immediate || JSArray.stackView.length === 0)
      

      so it is maybe interpreting this "0" wrong?

      Compiled this Qt version for desktop and it is working there well.

      Attachments

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

        Activity

          People

            shausman Simon Hausmann
            faldżip Filip Piechocki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes