Skip to content

QGroundControl开发指南

DiscussDiscord

如果要构建,修改或扩展QGroundControl(QGC),此开发人员指南是获取信息的最佳来源。 它展示了如何获取和构建源代码,解释了QGC的工作原理,并提供了为项目贡献代码的指南。 It shows how to obtain and build the source code, explains how QGC works, and provides guidelines for contributing code to the project.

TIP

This part of the guide is for developers!

WARNING

This is an active work in progress - information should be correct, but may not be complete! If you find that it is missing helpful information (or errors) please raise an issue or better yet submit a pull request to the docs with updated information.

设计理念

QGC 的设计是为了提供一个能够跨越多个操作系统平台以及多种设备的单个代码库。

The QGC user interface is implemented using Qt Qml. Qml provides for hardware acceleration which is a key feature on lower powered devices such as tablets or phones. Qml also provides features which allows us to more easily create a single user interface which can adapt itself to differing screen sizes and resolution.

与基于桌面鼠标的UI相比,QGC UI更倾向于平板电脑+触摸式UI。 这使得单个UI更容易创建,因为平板电脑样式UI也可以在台式机/笔记本电脑上正常工作。 This make a single UI easier to create since tablet style UI also tends to work fine on desktop/laptops.

支持

Development questions can be raised in the QGroundControl Developer discuss category.

贡献

有关贡献的信息,包括编码样式,测试和许可证,可以在代码提交中找到。

TIP

We expect all contributors to adhere to the QGroundControl code of conduct. This code aims to foster an open and welcoming environment.

Translations

We use Crowdin to make it easier to manage translation for both QGroundControl and the documentation.

The translation projects (and join links) are listed below:

The PX4 Developer Guide contains additional information about the (common) docs/translation toolchain:

许可证

QGroundControl source code is dual-licensed under Apache 2.0 and GPLv3. For more information see: Licenses.

管理

The QGroundControl ground station is hosted under the governance of the Dronecode Project.