4.3 QGC Android Setup
Follow this guide: https://docs.qgroundcontrol.com/Stable_V4.3/en/qgc-dev-guide/getting_started/#build-qgroundcontrol
Note: There is no need to install Android studio or android dependencies, below I provided a way to not have to do that Make sure to remember to install these dependencies on Ubuntu:
sudo apt-get install speech-dispatcher libudev-dev libsdl2-dev patchelf build-essential curlInstall Android Dependencies (do after you've installed and setup QT):
Install the zip file I have here:
Right click on it and hit "Extract Here"
In QT Creator, go to Edit -> Preferences -> Devices -> Android
Then for "Android SDK Location", select the unzipped directory

GStreamer Setup (Required for video to work on Android)
If you were to configure your project and build right now, you would run into a gstreamer error. To fix this, you need to download gstreamer-1.0-android-universal-1.18.6 here: https://gstreamer.freedesktop.org/data/pkg/android/1.18.6/gstreamer-1.0-android-universal-1.18.6.tar.xz Next, extract this zip file into a folder with the same name as the zip but without the .tar.bz2: To do this, navigate to where gstreamer-1.0-android-universal-1.18.6.tar.xz is located. By default it should have downloaded to your Downloads directory.
Next, let's make the directory where you will zip the contents of the zip file into:
Next, let's unzip the tar.bz2 file into that directory we made:
The structure after extracting the archive and moving it into qgroundcontrol-herelink-ift should look like this:
Building:
This area of the documentation explains well how to build: https://docs.qgroundcontrol.com/Stable_V4.3/en/qgc-dev-guide/getting_started/#qt-creator If you actually want to deploy and test a build, you can hit the play button rather than the build hammer.
Last updated