Bus error in qml. maybe it is caused by double/float
Mobile and Embedded
2
Posts
2
Posters
2.5k
Views
1
Watching
-
wrote on 31 Jan 2011, 02:47 last edited by
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?
-
wrote on 31 Jan 2011, 09:39 last edited by
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.
2/2