Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Cross compile for BBB and missing files

Cross compile for BBB and missing files

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.1k 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
    Bartholomew
    wrote on last edited by
    #1

    Hello everybody,
    i try to cross compile my code for a beaglebone black. I am a little bit confused because of my Qt-Target Version.

    For example: If i want to use QSerialPortInfo or QGyroscope or something else, i have to include the header: ok! To include the header i have to type in the *.pro file: QT+=serialport or what ever.

    It worked very well for my Ubuntu 14.04 LTS x86_64 system.

    I downloaded qt-everywhere-opensource-src-5.3.0 and the gcc-linaro-arm-linux-gnueabihf-4.9-2014.05_linux.tar.xz to cross compile it for my BBB.

    My configure options are: sudo ./configure -v -opensource -confirm-license -prefix /opt/Qt/5.3.0 -accessibility -nis -xplatform linux-arm-gnueabihf-g++ -device linux-beagleboneblack-g++ -device-option CROSS_COMPILE=/usr/local/linaro/bin/arm-linux-gnueabihf-

    I got a new folder, i added everything in QT......

    Now, if i add the serialport in the *.pro file via QT+=serialport, Qt tells me that it could not find them.

    I am missing a lot of folders in /opt/Qt/5.3.0/include/ for my created qt-target version. For example where is the folder QTSerialPort?

    What am i doing wrong?

    Thanks a lot.

    1 Reply Last reply
    0
    • B Offline
      B Offline
      Bartholomew
      wrote on last edited by
      #2

      I always have the problem that for example ../include/QtSerialport is missing. If i use the online installer for my host x86_64 Ubuntu 14.04 machine, 42 folders are in the folder ../include. If i use the qt-everywhere-opensource-src-5.3.0 with the configure-options:

      sudo ./configure -v -opensource -confirm-license -prefix /opt/Qt/5.3.0 -nis -xplatform linux-arm-gnueabihf-g++ -device linux-beagleboneblack-g++ -device-option CROSS_COMPILE=/usr/local/linaro/bin/arm-linux-gnueabihf-

      there are only 14 folders in it. Does anybody why?
      Thanks a lot

      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