Important: Please read the Qt Code of Conduct -

Bus error in qml. maybe it is caused by double/float

  • 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.

Log in to reply