Qt Creator Kit for BeagleBone Black (Debian 9)
-
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
-
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.