Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.2
-
Ubuntu 18.04 with Qt 5.12.2
-
-
78787011651692b64bef19f6bec03d0dbf390e18 (qt/qtdeclarative/5.12)
Description
The following example crashes with Qt 5.12.2 caused by an arithmetic exception
but works well with Qt 5.9.7
import QtQuick 2.9 import QtQuick.Window 2.2 Window { visible: true width: 640 height: 480 title: qsTr("Hello World") ListView { id: listView anchors.fill: parent } property int myYPosition: listView.visibleArea.yPosition property int myContentHeight: listView.contentHeight property int myResult: myYPosition / myContentHeight }