Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Bus error in qml. maybe it is caused by double/float

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

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 2.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    brucek
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kkrzewniak
      wrote on last edited by
      #2

      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.

      Me, Grimlock, not "nice dino". ME BASH BRAINS!

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved