QGroundControl on Raspberry Pi 3

Hi experts,

I am new in Raspberry Pi and I am trying to build QGroundControl on Raspberry Pi 3. Does anybody try this?
I installed QT 5.7.1 and download QGroundControl to my RPi 3:

git clone --recursive https://github.com/mavlink/qgroundcontrol.git

I was following steps in:

First error: Unsuported Linux toolchain, only GCC 32- or 64-bit is supported
I found in QGCCommon.pri that they check what linux/device type we have and I have linux-rasp-pi-g++ and condition with this is missing there
so I tried to do the same as for linux-rasp-pi2-g++

and I got another error in qtcreator while building:
sdl2 development package not found, I installed it with apt-get install libsdl2-dev

I also downloaded source code from
https://github.com/mavlink/qgroundcontrol/releases, but when I try to build it in qtcreator I get error:
MAVLink folder does not exist at ´libs/mavlink/include/mavlink/v2.0´!Run ´git submodule init &&git submodule update´ on the command line.

I tried git submodule init and update also --recursive but not work I got error:
fatal: Not a git repository (or any of the parent directories): .git

So it is error after error, errors everywhere and nothing work. Can somebody help me please?
Big thanks

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –


  • I am attempting to install QGroundControl on a Raspberry Pi 3 (running Raspian). I downloaded the compressed archive from the website, but when opening the shell script it encounters an error:

    ..... /home/pi/Downloads/qgroundcontrol/QGroundControl: Syntax error: ")" unexpected

    I even tried this a while ago on a copy of Lubuntu (or something similar) on the Pi3 but it keeps hitting this syntax error.

    Has anyone encountered this error?


This reply was deleted.


Abdulatif Tlaib liked Ryan's profile
15 hours ago
DIY Drones via Twitter
RT @chr1sa: After more than a year of only virtual races, @DIYRobocars returns to the newly renovated @circuitlaunch on May 22 for the resu…
Apr 11
DIY Drones via Twitter
RT @DAVGtech: By far best race yet! Congratulations to the winner @Heavy02011 🥇🏆🍾👏👏👏 @diyrobocars @donkey_car @NVIDIAEmbedded https://t.co/…
Mar 20
DIY Drones via Twitter
RT @mrpollo: 11 years ago, the pxIMU was announced to the world on @DIYDrones, and it changed the life of many (mine included). The followi…
Mar 18
DIY Drones via Twitter
RT @ishcahealth: This is awesome! ☘️ @DroneDJ @DIYDrones @WorkerDrones @DroneMedia_UK @dublinaviation https://twitter.com/media_ireland/status/1372077878536462336
Mar 18
DIY Drones via Twitter
Using ArduRover with an RTK GPS https://ift.tt/2N9I3RO
Jan 18
DIY Drones via Twitter
Jan 18
DIY Drones via Twitter
Jan 14
DIY Drones via Twitter
An improved version of the Intel OpenBot https://ift.tt/2KkHT8Q
Dec 14, 2020
DIY Drones via Twitter
First impressions of Tinkergen MARK robocar https://ift.tt/36IeZHc
Nov 16, 2020
DIY Drones via Twitter
First impressions of the Intel OpenBot https://ift.tt/36qkVV4
Nov 10, 2020
DIY Drones via Twitter
Getting started with Robocars https://ift.tt/2HWsudU
Nov 1, 2020
DIY Drones via Twitter
RT @chr1sa: The US government just approved 5 US-made drones for purchase, all based on the @Dronecode @PX4Autopilot standard. Great news f…
Aug 20, 2020
DIY Drones via Twitter
RT @MarvelmindMaxim: Extreme precision for 60 swarming robots. #marvelmind #autonomousrobotics #robotics #swarmrobotics #rtls #ips #indoor…
Aug 3, 2020
DIY Drones via Twitter
RT @MarvelmindMaxim: Precise (±2cm) tracking for racing boats and autonomous boats. Works outdoor and indoor. #autonomous #AutonomousVehic…
Aug 3, 2020
DIY Drones via Twitter
RT @MarvelmindMaxim: Helping PixHawk folks to fly autonomous quadcopters using PX4 and ArduPilot. https://marvelmind.com/drones/ Equally suitab…
Aug 3, 2020