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

QtDeclarative fails to build

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 3 Posters 1.9k 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.
  • N Offline
    N Offline
    NateM
    wrote on last edited by
    #1

    Hi all,

    I haven't been able to get an answer for this on the QtonPi forum but maybe I will get a bit more traffic here. I'm trying to cross compile from my Linux Desktop (64 bit 12.04 LTS) to a Raspberry Pi (32 bit Wheezy ARM) and cannot get QtDeclarative to compile. When I try and make it I see the following error:

    qv4isel_masm_p.h:1469:18: error: ‘class QQmlJS::MASM::Assembler’ has no member named ‘convertUInt32ToDouble’

    Looking at the bug reports it seems like this bug has been noticed and, presumably addressed however in a fresh git of Qt I still get the error. I am using the cross-compiler located in:

    https://github.com/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/

    Is there a patch or anything for QtDeclarative that fixes this?

    I really have no idea what to do at this point. Any suggestions would be very welcome!

    Thanks,

    Nathan

    1 Reply Last reply
    0
    • N Offline
      N Offline
      NateM
      wrote on last edited by
      #2

      Looks like it was a bug. A patch for this bug is currently available here and I hope will be pushed out soon:

      https://bugreports.qt-project.org/browse/QTBUG-34065

      1 Reply Last reply
      0
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

        Try checking out the dev branch, and if that fails, use Qt 5.1 source code - it does not use V4, so it should compile.

        (Z(:^

        1 Reply Last reply
        0
        • S Offline
          S Offline
          stuartr
          wrote on last edited by
          #4

          Sierdzio, you're a genius - thank you.

          I'd been following all sorts of different wikis / how-tos trying to get Qt to cross compile for Raspberry Pi. I'd got to the same point as Nathan starts here. I followed your advice and built Qt 5.2 from source zip (with no patches required). So ends 3 days of hair pulling.

          Stu

          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