Qt 6.12 LTS is out! See what's new in the release
blog
Bus error in qml. maybe it is caused by double/float
Mobile and Embedded
2
Posts
2
Posters
2.9k
Views
1
Watching
-
I use qml(qt4.7) in mips(little endian). and if some qml element's property(width,height,anchors...) is double because I used the method parent.width/3, it will crashed with "bus error". and the problem is maybe in script's parser?
-
I don't know what might have caused the bus error. But afaik QGraphicsView should always cast doubles to floats because it only supports float precision. For example the elements bounding rectangle will always be a QRectF.