Unsolved Cross-compilation guide for Raspberry Pi 2 and Qt 5.9.4
-
G'day,
I've been attempting to setup a cross-compile workflow for the last week, and have not had any success, despite the numerous guides and how-to's online. My host machine is running 64-bit Ubuntu 16.04, my target is a Raspberry Pi 2 running Rasbian Lite.
I've tried each of the following guides numerous times, wiping and reinstalling both Ubuntu and Raspbian Lite each time:
- https://www.ics.com/blog/configuring-qt-creator-raspberry-pi
- https://wiki.qt.io/RaspberryPi2EGLFS
- https://medium.com/@amirmann/how-to-cross-compile-qt-for-raspberry-pi-3-on-linux-ubuntu-for-beginners-75acf2a078c
- https://exploreembedded.tumblr.com/
In each example, I'm left with a sysroot folder or toolchain folder which is different to that in the tutorial, which ultimately prevents me from configuring a Device/Kit in Qt Creator.
Does anyone have a recent cross-compile guide, that they've managed to use successfully in the last couple of months? The above guides are all fairly old, and no matter how many attempts I make, I just cannot get it to work. I've been writing the steps I've taken as I've gone, so I fully intend to post an updated how-to guide once I've got it working, but I'm going to need some assistance to get there.
Thanks!