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
Forum Updated to NodeBB v4.3 + New Features

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 1 Watching
  • 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 31 Jan 2011, 02:47 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 31 Jan 2011, 09:39 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

      2/2

      31 Jan 2011, 09:39

      • Login

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