![]() ![]() In the Projects section, select the appropriate kit for your needs:.Launch Qt Creator and open the qgroundcontrol.pro project.This can be done in a bash terminal using the command: echo -e "DEFINES += DISABLE_AIRMAP\r\n" | tee user_config.pri Airmap: Create a file named user_config.pri (in the repo root directory) containing the text DEFINES += DISABLE_AIRMAP.This currently applies to Airmap on Linux, which is optional but enabled by default. Video Streaming/Gstreamer: - see Video Streaming.ĭisable platform-specific optional features that are enabled (but not installed), by default.These features can be forcibly enabled/disabled by specifying additional values to qmake. Optional features that are dependent on the operating system and user-installed libraries are linked/described below. Install Optional/OS-Specific Functionality Arch Linux: pacman -Sy speech-dispatcher patchelf.Fedora: sudo dnf install speech-dispatcher SDL2-devel SDL2 systemd-devel patchelf.Ubuntu: sudo apt-get install speech-dispatcher libudev-dev libsdl2-dev patchelf build-essential curl.Install Additional Packages (Platform Specific).Android ARMv7 (optional, used to build Android).Then install just the following components: If the version needed is not displayed, check the archive (show archive and refresh). In the installer Select Components dialog choose: 5.15.2. If you install Qt to a non-default location you will need to modify qgroundcontrol-start.sh in order to run downloaded builds. Install to default location for use with.Set the downloaded file to executable using: chmod +x.Download and run the Qt Online Installer.You need to install Qt as described below instead of using pre-built packages from say, a Linux distribution, because QGroundControl needs access to private Qt headers. Actually building QGroundControl should be done using Qt Creator or qmake as outlined below. Visual Studio is ONLY used to get the compiler. When installing, select Desktop development with C++ as shown: The Windows compiler can be found here: Visual Studio 2019 compiler (64 bit) Install Visual Studio 2019 (Windows Only) Native CentOS Builds are also supported, but are documented separately (as the tested environment is different). There is a significant risk that other Qt versions will inject bugs that affect stability and safety (even if QGC compiles).įor more information see: Qt 5 supported platform list. QGC has been thoroughly tested with the specified version of Qt (5.15.2). Standard QGC is built against ndk version 19.Windows: Vista or higher, Visual Studio 2019 compiler (64 bit).QGroundControl uses Qt as its cross-platform support library and uses QtCreator as its default build environment. QGroundControl builds are supported for macOS, Linux, Windows, iOS and Android. We support Linux builds using a container found on the source tree of the repository, which can help you develop and deploy the QGC apps without having to install any of the requirements on your local environment. You must use git! Build QGroundControl Using Containers Github source-code zip files cannot be used because these do not contain the appropriate submodule source code. Update submodules (required each time you pull new source code): git submodule update -recursive.Clone the repo (or your fork) including submodules: git clone -recursive -j8.It is dual-licensed under Apache 2.0 and GPLv3. Source code for QGroundControl is kept on GitHub here. If you just want to test (and not debug) a recent build of QGroundControl you can use the Daily Build. It also provides information about optional or OS specific functionality. This topic explains how to get the QGroundControl source code and build it either natively or within a Vagrant environment. ![]() Release/Branching Process For Custom Builds Initial Repository Setup For Custom Build ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |