Details
-
Bug
-
Resolution: Cannot Reproduce
-
P1: Critical
-
5.2.0 RC1
-
None
-
Qt 5.2.0 rc1 with eglfs platform plugin on i.MX6 board.
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.