From c038ab45807c0f6362b68af75f0c574189c2e478 Mon Sep 17 00:00:00 2001 From: Gus Grubba Date: Mon, 22 Jul 2019 22:23:54 -0400 Subject: [PATCH] Adding images --- CentOS.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/CentOS.md b/CentOS.md index a2b011721..c61c53987 100644 --- a/CentOS.md +++ b/CentOS.md @@ -2,6 +2,12 @@ These were the options used to setup a CentOS development system. Use it as a guideline. +#### CentOS Installation +![CentOS Installation](https://github.com/mavlink/qgroundcontrol/blob/master/resources/CentOS/CentOS-installation.png) + +#### CentOS Software Selection +![CentOS Software Selection](https://github.com/mavlink/qgroundcontrol/blob/master/resources/CentOS/CentOS-sw-selection.png) + Once the system is fully installed and running, we need to set it up for QGC development. First, we need to update GStreamer to a more recent version. This guide follows Alice Wonder's tips found here: https://media.librelamp.com #### Update to a more current GStreamer @@ -29,9 +35,10 @@ sudo yum install SDL2-devel ``` #### Installing Qt - +``` mkdir ~/devel cd ~/devel +``` Install Qt 5.12.4 from the Qt installation script which can be downloaded [here](https://www.qt.io/download-thank-you?os=linux&hsLang=en). Once downloaded, make it executable and run it: ``` @@ -40,6 +47,7 @@ chmod +x qt-unified-linux-x64-3.1.1-online.run ``` Select the following options and install it under ~/devel/Qt +![Qt Software Selection](https://github.com/mavlink/qgroundcontrol/blob/master/resources/CentOS/Qt-Setup.png) #### Clone and Build QGC ``` @@ -62,8 +70,10 @@ make -j32 You can alternativelly launch QtCreator (found under `~/devel/Qt/Tools/QtCreator/bin/qtcreator`), load the `qgroundcontro.pro` project and build/debug from within its IDE. +By default, this will build the regular QGC. To build the sample, customized UI version, follow [these instructions](https://github.com/mavlink/qgroundcontrol/blob/master/custom-example/README.md). + #### Running QGC Before launching QGC, you need to make sure the current user has access to the dialout group (serial port access permission): ``` sudo usermod -a -G dialout $USER -``` \ No newline at end of file +``` -- 2.22.0