# Compiling QGroundControl on Raspberry Pi

**URL:** <https://discuss.bluerobotics.com/t/compiling-qgroundcontrol-on-raspberry-pi/1941>\
**Category:** QGroundControl\
**Created:** [January 3, 2018, 3:21am UTC](https://discuss.bluerobotics.com/t/compiling-qgroundcontrol-on-raspberry-pi/1941 "2018-01-03T03:21:57Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![BigAl](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@BigAl](https://discuss.bluerobotics.com/u/BigAl)\
**Post date:** [January 3, 2018, 3:21am UTC](https://discuss.bluerobotics.com/t/compiling-qgroundcontrol-on-raspberry-pi/1941/1 "2018-01-03T03:21:57Z")

</div>

Hello,

Is it possible to compile QGroundControl so that it runs on a raspberry Pi ?

I had a go at this yesterday but ran into problems with the version of QTCreator on the RPi.  
Thought it best if I get some advice before wasting too much time on this.

My idea is to have a waterproof topside box running the s/w rather than carrying a laptop around.

Regards,

Alan

---

<div class="post-metadata">

**Author:** ![jwalser](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/jwalser/32/2234_2.png) [@jwalser](https://discuss.bluerobotics.com/u/jwalser)\
**Post date:** [January 3, 2018, 4:15am UTC](https://discuss.bluerobotics.com/t/compiling-qgroundcontrol-on-raspberry-pi/1941/2 "2018-01-03T04:15:26Z")

</div>

It is probably possible, but it might not be worth the effort. I am not aware of anyone who has gotten it working. What were your problems?

---

<div class="post-metadata">

**Author:** ![jwalser](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/jwalser/32/2234_2.png) [@jwalser](https://discuss.bluerobotics.com/u/jwalser)\
**Post date:** [January 3, 2018, 4:16am UTC](https://discuss.bluerobotics.com/t/compiling-qgroundcontrol-on-raspberry-pi/1941/3 "2018-01-03T04:16:46Z")

</div>

See also [Has anybody managed to get QGroundControl GCS working on RPi? - #15 by JAR4x4 - Ground Control Software - ArduPilot Discourse](https://discuss.ardupilot.org/t/has-anybody-managed-to-get-qgroundcontrol-gcs-working-on-rpi/13680/15)

---

<div class="post-metadata">

**Author:** ![BigAl](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@BigAl](https://discuss.bluerobotics.com/u/BigAl)\
**Post date:** [January 3, 2018, 4:36am UTC](https://discuss.bluerobotics.com/t/compiling-qgroundcontrol-on-raspberry-pi/1941/4 "2018-01-03T04:36:57Z")

</div>

Jacob,

I found this link on the web.

> **[Compiling QGroundControl on Raspberry Pi (Raspbian) - SKYDRONEX](http://www.skydronex.com/compiling-qgroundcontrol-raspberry-pi-raspbian/)**
>
> In this short tutorial we will explain how we can build from source code Qgroundcontrol in order to use in our Raspberry Pi. You can download a copy compiled here To continue this tutorial we will need the following: Raspberry Pi Model B SD Card...

Everything was going fine until I got to the QTCreator part.

- The instructions don’t match the version of QT that I installed.

I fumbled around but when I tried to compile said I needed a later version of QT (5.7 I think).

I poked around on the internet and the feedback was version 5.7 is not available for RPi.

This was around am so I gave up and decided to ask the experts as I have never used QT much at all.

---

<div class="post-metadata">

**Author:** ![patrickelectric](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/patrickelectric/32/2162_2.png) [@patrickelectric](https://discuss.bluerobotics.com/u/patrickelectric)\
**Post date:** [January 3, 2018, 12:52pm UTC](https://discuss.bluerobotics.com/t/compiling-qgroundcontrol-on-raspberry-pi/1941/5 "2018-01-03T12:52:18Z")

</div>

Probably you’ll need to compile Qt, take a look [here](http://doc.qt.io/qt-5/embedded-linux.html).

---

<div class="post-metadata">

**Author:** ![305155973](https://avatars.discourse-cdn.com/v4/letter/3/35a633/32.png) [@305155973](https://discuss.bluerobotics.com/u/305155973)\
**Post date:** [January 14, 2018, 9:53am UTC](https://discuss.bluerobotics.com/t/compiling-qgroundcontrol-on-raspberry-pi/1941/6 "2018-01-14T09:53:23Z")

</div>

Hi Alan,

I’m interested in how you went with this compling in the end?

I want to do the same thing (compile QGC on Rpi) and found this discussion.

As an alternative to not take a laptop with me wherever the ROV goes for a swim, I am also thinking of getting the ios version of QGC working. Then all I need is my iphone instead of a laptop or a topside box.

Not sure anyone has ever tried it?

---

<div class="post-metadata">

**Author:** ![BigAl](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@BigAl](https://discuss.bluerobotics.com/u/BigAl)\
**Post date:** [January 14, 2018, 10:26am UTC](https://discuss.bluerobotics.com/t/compiling-qgroundcontrol-on-raspberry-pi/1941/7 "2018-01-14T10:26:50Z")

</div>

I am taking a different approach now.

I am trying to set up a rPi as a hotspot.

Hard wire to the sub on lan and hotspot to my phone or any other device.

Its the simpler solution.

When i sort out i will share

---

<div class="post-metadata">

**Author:** ![305155973](https://avatars.discourse-cdn.com/v4/letter/3/35a633/32.png) [@305155973](https://discuss.bluerobotics.com/u/305155973)\
**Post date:** [January 14, 2018, 10:56am UTC](https://discuss.bluerobotics.com/t/compiling-qgroundcontrol-on-raspberry-pi/1941/8 "2018-01-14T10:56:27Z")

</div>

thanks for sharing, Alan

Look forward to your update on that.

发自我的iPhone

------------------ Original ------------------

---

<div class="post-metadata">

**Author:** ![DrewFulton](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/drewfulton/32/1872_2.png) [@DrewFulton](https://discuss.bluerobotics.com/u/DrewFulton)\
**Post date:** [January 14, 2018, 12:41pm UTC](https://discuss.bluerobotics.com/t/compiling-qgroundcontrol-on-raspberry-pi/1941/9 "2018-01-14T12:41:49Z")

</div>

I originally thought about going this route as well but after some quick research found that QGC and RPi seemed to be problematic. Instead, I plan on using an ODROID XU-4 computer in place of the Pi. The XU-4 is about the same size as a pi, slightly larger, but more powerful and will run a full Linux installation. I have it sitting here with all the components but haven’t had a chance to plug it in and boot it up yet. I hopefully will have it up and running in the next week or two if I can get to it and will check back here if I can get it to work.

---

<div class="post-metadata">

**Author:** ![BigAl](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@BigAl](https://discuss.bluerobotics.com/u/BigAl)\
**Post date:** [January 14, 2018, 12:58pm UTC](https://discuss.bluerobotics.com/t/compiling-qgroundcontrol-on-raspberry-pi/1941/10 "2018-01-14T12:58:46Z")

</div>

My idea is to use the rpi to issue ip address of 192.168.1.2 via hotspot to  
any android device that connects.

The sub is on 192.168.1.1 so should able to talk between qgroundcontrol on  
a tablet/phone and the sub.

I am having issues setting up my wifi driver at the moment on the rpi. Once  
i sort that out will see how it goes

---

<div class="post-metadata">

**Author:** ![305155973](https://avatars.discourse-cdn.com/v4/letter/3/35a633/32.png) [@305155973](https://discuss.bluerobotics.com/u/305155973)\
**Post date:** [January 16, 2018, 9:23am UTC](https://discuss.bluerobotics.com/t/compiling-qgroundcontrol-on-raspberry-pi/1941/11 "2018-01-16T09:23:31Z")

</div>

I actually installed win10iot on Rpi but seems can’t install QGC into win10iot. If it does not work, I will have to change to other boards for my surface box.

---

<div class="post-metadata">

**Author:** ![BigAl](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@BigAl](https://discuss.bluerobotics.com/u/BigAl)\
**Post date:** [January 16, 2018, 10:02am UTC](https://discuss.bluerobotics.com/t/compiling-qgroundcontrol-on-raspberry-pi/1941/12 "2018-01-16T10:02:39Z")

</div>

I got this to work by using the rPi as a hotspot and running qgroundcontrol  
on my android phone.

The gamecontroller linked straight away to the phone.

Pretty simple setup

---

<div class="post-metadata">

**Author:** ![305155973](https://avatars.discourse-cdn.com/v4/letter/3/35a633/32.png) [@305155973](https://discuss.bluerobotics.com/u/305155973)\
**Post date:** [January 16, 2018, 10:14am UTC](https://discuss.bluerobotics.com/t/compiling-qgroundcontrol-on-raspberry-pi/1941/13 "2018-01-16T10:14:57Z")

</div>

That sounds neat! I should try that. I wonder if that will work with iphone.

---

<div class="post-metadata">

**Author:** ![BigAl](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@BigAl](https://discuss.bluerobotics.com/u/BigAl)\
**Post date:** [January 16, 2018, 11:56am UTC](https://discuss.bluerobotics.com/t/compiling-qgroundcontrol-on-raspberry-pi/1941/14 "2018-01-16T11:56:56Z")

</div>

It wasn’t too hard

Just follow this link : [Raspberry Pi Documentation - Configuration](https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md)

My only advice use a RP3 which has inbuilt wifi. I had all sorts of problems trying to use a RPi2 and USB/Wifi adapters. I went through 3 adapters without luck ! The newer operating system Strecth doesn’t seem to support some of the adapters.

All you need to remember is the sub is 192.168.2.2 and the topside is 192.168.2.1.  
I set the bridge to a static ip of 192.168.2.3

I didn’t bother trying to broadcast 192.168.2.1 to the android phone. I set it manually on the phone.

I am using a Logech F710 Gamepad. I had to buy a OTG cable (small usb port on phone to female USB) to plug the wifi adapter in. Worked without having to do anything further.

Perhaps check that you gamepad will work because i did see on the internet that there are some issues with some of them.

It is currently running like a dream on my phone and will try and get hold of a tablet to make the screen a bit bigger.

Certainly a much simpler set up than trying to compile qgroudncontrol on the Rpi. Which did look like a nightmare when i attempted it.

Alan
