Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Bus error in qml. maybe it is caused by double/float
brucek 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?
kkrzewniak 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.