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. Qt Creator Kit for BeagleBone Black (Debian 9)
Forum Updated to NodeBB v4.3 + New Features

Qt Creator Kit for BeagleBone Black (Debian 9)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 321 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.
  • bigguinessB Offline
    bigguinessB Offline
    bigguiness
    wrote on last edited by
    #1

    Hello all,

    I recently got a new laptop and wanted to setup Qt to be able to cross-compile a program for use on a BeagleBone Black running Debian 9.

    Currently I have to compile the app on the BeagleBone Black directly and it takes a couple hours. I also compile the app for Windows on my laptop (in a couple minutes).

    The way I am doing it now works it's just a pain to test changes on the BeagleBone. Right now I end up testing everything in Windows then when I think it's ready I do the BeagleBone compile so I can test it there.

    Is this even possible? Seems like it should be since Qt Creator appears to support cross-compiling for Android.

    It it matters, here is some information from the Debian image I am running on the BeagleBone:

    $ cat /etc/dogtag
    BeagleBoard.org Debian Image 2018-01-21
    $ lsb_release -a
    No LSB modules are available.
    Distributor ID: Debian
    Description:    Debian GNU/Linux 9.13 (stretch)
    Release:        9.13
    Codename:       stretch
    $ uname -a
    Linux G5-HMI 4.9.105-ti-r114 #1 SMP PREEMPT Fri Aug 17 11:05:53 UTC 2018 armv7l GNU/Linux
    $ qmake --version
    QMake version 3.0
    Using Qt version 5.7.1 in /usr/lib/arm-linux-gnueabihf
    

    On the BeagleBone the only packages I needed, other than the build-essentials, were:

    qt5-default qtbase5-dev libqt5svg5-dev
    

    If any other information is needed I will try to provide it.

    Thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You need to setup your Windows machine for cross-compilation and then cross-compile Qt for your target.

      Doing it on Linux is usually way easier.
      Maybe WSL2 may allow you to do that as well.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

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