Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DONT MERGE] Stable v4.4 vs Stable v4.3 #11276

Closed
wants to merge 110 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
ba73f2a
FlightDisplay: put zoom buttons on the left of the scale
jolivain Oct 2, 2021
60870df
Don't hide Tools button when user is using Parameters Search function
junwoo091400 May 3, 2022
1a3e35d
JoyStickButtonAssignment: Fix warning text
junwoo091400 Nov 11, 2022
aef790b
Mission item: CONDITION_YAW -use shortest direction by default
AndKe Feb 27, 2023
3335f78
Mission item: CONDITION_YAW -use shortest direction by default
AndKe Feb 27, 2023
7bfda04
APMFirmwarePlugin: add ROI to capabilities
Davidsastresas Oct 4, 2023
5014a29
APMFirmwarePlugin: add gimbal_manager_pitchyaw as supported mission c…
Davidsastresas Oct 4, 2023
5cf402f
APMFirmwarePlugin: make _guidedModeTakeoff virtual
Davidsastresas Oct 4, 2023
15cf607
APMAutoPilotPlugin.cc: Change deprecated AP param
Davidsastresas Oct 4, 2023
3b4fedf
APMCameraComponent.cc: disable summary.qml until parameters are updated:
Davidsastresas Oct 4, 2023
e01a83f
ToolStripAction: add some new features
Davidsastresas Oct 4, 2023
a23da2c
ToolStripHoverButton.qml: Add some new features
Davidsastresas Oct 4, 2023
8f28f4c
QGCCameraControl.cc: _dataReady: search for possible definition files…
Davidsastresas Oct 4, 2023
3fd289f
QGCCorePlugin: new function getOfflineCameraDefinitionFile:
Davidsastresas Oct 4, 2023
e2e4ab4
Vehicle: add sendMavCommandDelayed() function
Davidsastresas Oct 4, 2023
24e12e8
QGCButton.qml: hover disabled on mobile:
Davidsastresas Oct 21, 2023
0113732
ToolStripHoverButton.qml: hover disabled on mobile:
Davidsastresas Oct 21, 2023
9a8acc6
MainRootWindow.qml: remove unused viewSwitch() function
Davidsastresas Jan 14, 2024
b88616a
MainRootWindow.qml: PR CustomMainRootWindow: fix bug, empty loader vi…
Davidsastresas Jan 14, 2024
5fdb6a2
main: fix Ctrl+C
julianoes Dec 4, 2023
21616f4
Update master with docs (#10895)
hamishwillee Dec 6, 2023
2baf787
New Crowdin updates (#10902)
PX4BuildBot Dec 6, 2023
bc2522b
Remove spurious files (#10903)
hamishwillee Dec 6, 2023
d134dd3
New Crowdin updates (#10904)
PX4BuildBot Dec 6, 2023
5ed8555
Minor fixes (#10905)
hamishwillee Dec 6, 2023
c8d15b1
Delete some spurious old translations (#10906)
hamishwillee Dec 6, 2023
59ff1a9
Fix up internal links as external links (#10907)
hamishwillee Dec 7, 2023
4131088
New Crowdin updates (#10908)
PX4BuildBot Dec 7, 2023
3bf3d7f
Vehicle: add distance to next WP fact
Davidsastresas Dec 7, 2023
ff0f325
Add separate crowdin.yml for docs (#10916)
hamishwillee Dec 9, 2023
8da219a
Hardware: Fix FMUv6X-RT ProductID (#10921)
vincentpoont2 Dec 13, 2023
fbe6126
Add camera tracking functionality
DonLakeFlyer Jan 6, 2024
edcfa7b
Fix map dragging
DonLakeFlyer Jan 14, 2024
3cbf805
Add joystick landing gear button support
DonLakeFlyer Jan 15, 2024
ce72e79
Allow units strings to be localized
DonLakeFlyer Jan 15, 2024
4357e28
Add example
DonLakeFlyer Jan 15, 2024
3902373
Fix exported tile sets file extension
DonLakeFlyer Jan 16, 2024
a8dd833
RemoteID: validate EU operator ID (#10970)
julianoes Feb 1, 2024
87178b9
Show polygon edge lengths while dragging vertex
DonLakeFlyer Jan 16, 2024
ca0a51f
Don't hide charts on mobile
DonLakeFlyer Jan 16, 2024
8337744
Update guidedModeGotoLocation doc comment (#10978)
Maarrk Mar 27, 2024
77f9272
Bump vite from 5.0.4 to 5.0.12
dependabot[bot] Jan 19, 2024
0f55636
New Crowdin updates (#11025)
PX4BuildBot Feb 7, 2024
eca53d9
New Crowdin updates (#11027)
PX4BuildBot Feb 7, 2024
387d1c0
New translations qgc.ts (Korean)
PX4BuildBot Feb 7, 2024
4af0b91
New translations qgc.ts (Turkish)
PX4BuildBot Feb 7, 2024
697eebf
New translations qgc.ts (Chinese Simplified)
PX4BuildBot Feb 7, 2024
0e6ae90
New translations qgc-json.ts (Korean)
PX4BuildBot Feb 7, 2024
8c3fcdd
New translations qgc-json.ts (Turkish)
PX4BuildBot Feb 7, 2024
116597a
New translations qgc-json.ts (Chinese Simplified)
PX4BuildBot Feb 7, 2024
9699856
GPS/Drivers: Update submodule, fix RTK for F9P
julianoes Feb 8, 2024
b51eb6a
Fix Remote ID buffer sizes to spec and refactor _getSelfIDDescription
oorahmi Feb 12, 2024
fee62f0
Update FirmwareUpgradeController.cc
TOTON95 Feb 13, 2024
752bee4
PendingIntent needs IMMUTABLE flag from Android12
tajisoft Feb 23, 2024
5b5a18c
Fixes for joystick event handling in QML
s-lisovenko Feb 26, 2024
4a42e2f
DO_SET_ROI_LOCATION is now supported
DonLakeFlyer Feb 29, 2024
ec08766
Vehicle: Remove centi-degrees conversion in MOUNT_CONTROL
nexton-winjeel Mar 8, 2024
309d67c
Remove unused parameters
DonLakeFlyer Mar 8, 2024
50200a5
Bug fix: QGC will crashed when disconnecting a vehicle and then recon…
yizhendongfeng Mar 27, 2024
5c1eb25
RemoteIDManager: QString::mid instead of sliced.
julianoes Mar 28, 2024
156be66
QGCButton.qml: add fontWeight property
Davidsastresas Mar 15, 2024
c2009ef
MainRootWindow.qml: indicator popup, allow to not dim background
Davidsastresas Mar 15, 2024
607879a
ToolStrip.qml: expose fontSize for ToolStripHoverButton
Davidsastresas Mar 17, 2024
72e9d74
Remove ROI Indicator from toolbar
DonLakeFlyer Mar 2, 2024
e1d4b61
Add support to pass click position through signal
DonLakeFlyer Mar 5, 2024
3c39c10
Add ROI editing menu
DonLakeFlyer Mar 5, 2024
6e152ec
FlyViewMap.qml: fix previous c1364dad3 commit after backport to 4.3 f…
Davidsastresas Mar 18, 2024
e44445c
GimbalController and GimbalControllerSettings: first commit
Davidsastresas Mar 9, 2024
0e4435f
QGCApplication.cc: add GimbalController and register to qml
Davidsastresas Mar 9, 2024
13ed857
qgroundcontrol.pro: add GimbalController and GimbalControllerSettings
Davidsastresas Mar 9, 2024
c0d70cb
Vehicle: add gimbalController, and move gimbal functionality there:
Davidsastresas Mar 28, 2024
5cc5b76
resources: add new icon for gimbal indicator, artwork by Alex de la T…
Davidsastresas Mar 17, 2024
26ef825
qgcresources.qrc: add new icon for gimbal indicator
Davidsastresas Mar 17, 2024
e88303f
GimbalIndicator.qml: first commit
Davidsastresas Mar 17, 2024
3329ef8
FirmwarePlugin.cc: add gimbalIndicator to toolIndicators
Davidsastresas Mar 16, 2024
b9f23b3
VehicleMapItem.qml: add gimbal yaw indicator over map
Davidsastresas Mar 17, 2024
91b050d
OnScreenGimbalController.qml: first commit, process onscreen mouse ac…
Davidsastresas Mar 19, 2024
96292f0
FlyviewVideo.qml: add OnScreenGimbalController for gimbal mouse actio…
Davidsastresas Mar 19, 2024
eb36c29
InstrumentValueIcons: add 2 new icons for gimbal telemetry, artwork b…
Davidsastresas Mar 17, 2024
78ee54e
Joystick: fix gimbal control and add some new button actions for gimb…
Davidsastresas Mar 9, 2024
02370de
FlyViewMap.qml: ROI edit click area ocupying all the label:
Davidsastresas Mar 19, 2024
23dfa65
Vehicle: add roiCoordChanged signal:
Davidsastresas Mar 19, 2024
24481c8
FlyViewMap.qml: connect roilocationitem to vehicle roiCoordChanged:
Davidsastresas Mar 19, 2024
29003c4
GimbalController.cc: send NAN instead of 0 when rates are not used
Davidsastresas Mar 28, 2024
390571f
GimbalControllerSettings: Add setting to show or not Acquire/release …
Davidsastresas Mar 28, 2024
9d31252
GimbalIndicator.qml: Add Acquire/release control button
Davidsastresas Mar 28, 2024
ec22736
FlyViewVideo.qml, OnScreenGimbalController.qml: fix conflict with tra…
Davidsastresas Mar 28, 2024
56e05f4
Vehicle: independent function to delete gimbal controller, needed for…
Davidsastresas Apr 8, 2024
7f6a912
RequestMessageTest.cc: disable vehicle gimbal controller on this test:
Davidsastresas Apr 8, 2024
00fbb1a
SendMavCommandWithSignallingTest.cc: ignore MAV_CMD_REQUEST_MESSAGE:
Davidsastresas Apr 8, 2024
404545f
Revert "MainRootWindow.qml: remove unused viewSwitch() function"
julianoes Apr 23, 2024
d9df61e
.github/android_release.yml: remove ext11 to fix build
Davidsastresas Apr 24, 2024
ab7c716
.github: Don't upload to S3, just for this particular branch, see det…
Davidsastresas Apr 24, 2024
dd16685
GimbalController: start handshake only after parameters are donwloaded:
Davidsastresas May 20, 2024
efa109c
GimbalController: Limit how fast we send gimbal status message request:
Davidsastresas May 20, 2024
345ddba
.github: Update android gstreamer to 1.18.6:
Davidsastresas May 20, 2024
76cf180
.github: fix mac build
Davidsastresas May 20, 2024
a753a86
VideoReceiver: bump gstreamer version
julianoes May 22, 2024
9b00dc0
qmake: fix Android version code for RCs
julianoes May 23, 2024
b02c0dd
Camera: switch to new REQUEST_MESSAGE commands
julianoes May 30, 2024
f20f05e
Camera: allow camera managed by an autopilot
julianoes May 30, 2024
a02e74a
Vehicle: fix unit tests after camera change
julianoes May 31, 2024
750f1f2
CI: upload artifacts to release
julianoes Jun 1, 2024
4b50ece
QGeoMapReplyQGC: ignore SSL without OpenSSL 1.x
julianoes Jun 2, 2024
6eb0e42
Camera: video stream request fixup
julianoes Jun 2, 2024
9359fc4
QGeoMapReplyQGC: disable noisy warning
julianoes Jun 3, 2024
f1ba395
Using GST structure to confirm video decoding stream format.
IanBrace2 Mar 26, 2024
a2d7d18
OfflineMap.qml: Fix menu
Davidsastresas Jun 3, 2024
c1a85b0
VehicleMapItem.qml: fix qml warning
Davidsastresas Jun 3, 2024
8d72421
QGCCameraManager.cc: change log from qWarning to CameraManagerLog:
Davidsastresas Jun 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
31 changes: 13 additions & 18 deletions .github/workflows/android_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --uninstall "platforms;android-34"
${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --uninstall "platforms;android-34-ext8"
${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --uninstall "platforms;android-34-ext10"
${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --uninstall "platforms;android-34-ext11"

- name: Install ccache
run: sudo apt-get install ccache
Expand Down Expand Up @@ -106,9 +107,9 @@ jobs:
- name: Install gstreamer
working-directory: ${{ github.workspace }}
run: |
wget --quiet https://gstreamer.freedesktop.org/data/pkg/android/1.18.5/gstreamer-1.0-android-universal-1.18.5.tar.xz
mkdir gstreamer-1.0-android-universal-1.18.5
tar xf gstreamer-1.0-android-universal-1.18.5.tar.xz -C gstreamer-1.0-android-universal-1.18.5
wget --quiet https://gstreamer.freedesktop.org/data/pkg/android/1.18.6/gstreamer-1.0-android-universal-1.18.6.tar.xz
mkdir gstreamer-1.0-android-universal-1.18.6
tar xf gstreamer-1.0-android-universal-1.18.6.tar.xz -C gstreamer-1.0-android-universal-1.18.6

- name: Update android manifest
if: github.ref_name != 'Stable'
Expand Down Expand Up @@ -136,18 +137,12 @@ jobs:
name: ${{ matrix.ARTIFACT }}
path: ${{ runner.temp }}/shadow_build_dir/package/${{ matrix.ARTIFACT }}

- name: Upload build to S3 Bucket
if: github.event_name == 'push'
working-directory: ${{ runner.temp }}/shadow_build_dir/package
run: |
aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }}
aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws s3 cp ${{ matrix.ARTIFACT }} s3://qgroundcontrol/builds/${{ github.ref_name }}/${{ matrix.ARTIFACT }} --region us-west-2 --acl public-read

- name: Upload tagged stable build to S3 latest Bucket
if: github.event_name == 'push' && github.ref_type == 'tag'
working-directory: ${{ runner.temp }}/shadow_build_dir/package
run: |
aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }}
aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws s3 cp ${{ matrix.ARTIFACT }} s3://qgroundcontrol/latest/${{ matrix.ARTIFACT }} --region us-west-2 --acl public-read
- name: Publish artifact to GitHub release
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ runner.temp }}/shadow_build_dir/package/${{ matrix.ARTIFACT }}
asset_name: ${{ matrix.ARTIFACT }}
tag: ${{ github.ref }}
overwrite: true
24 changes: 9 additions & 15 deletions .github/workflows/linux_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,12 @@ jobs:
name: ${{ env.ARTIFACT }}
path: ${{ runner.temp }}/shadow_build_dir/package/${{ env.ARTIFACT }}

- name: Upload build to S3 Bucket
if: github.event_name == 'push'
working-directory: ${{ runner.temp }}/shadow_build_dir/package
run: |
aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }}
aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws s3 cp ${ARTIFACT} s3://qgroundcontrol/builds/${{ github.ref_name }}/${ARTIFACT} --region us-west-2 --acl public-read

- name: Upload tagged stable build to S3 latest Bucket
if: github.event_name == 'push' && github.ref_type == 'tag'
working-directory: ${{ runner.temp }}/shadow_build_dir/package
run: |
aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }}
aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws s3 cp ${ARTIFACT} s3://qgroundcontrol/latest/${ARTIFACT} --region us-west-2 --acl public-read
- name: Publish artifact to GitHub release
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ runner.temp }}/shadow_build_dir/package/${{ env.ARTIFACT }}
asset_name: ${{ env.ARTIFACT }}
tag: ${{ github.ref }}
overwrite: true
29 changes: 12 additions & 17 deletions .github/workflows/macos_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ env:

jobs:
build:
runs-on: macos-latest
runs-on: macos-12

steps:
- name: Checkout repo
Expand All @@ -46,11 +46,12 @@ jobs:
uses: jurplel/install-qt-action@v3
with:
version: ${{ env.QT_VERSION }}
aqtversion: ==3.1.*
host: mac
target: desktop
dir: ${{ runner.temp }}
modules: qtcharts
setup-python: false
setup-python: true

- name: Install Gstreamer
run: |
Expand Down Expand Up @@ -102,18 +103,12 @@ jobs:
name: ${{ env.ARTIFACT }}
path: ${{ runner.temp }}/shadow_build_dir/package/${{ env.ARTIFACT }}

- name: Upload build to S3 Bucket
if: github.event_name == 'push'
working-directory: ${{ runner.temp }}/shadow_build_dir/package
run: |
aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }}
aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws s3 cp ${ARTIFACT} s3://qgroundcontrol/builds/${{ github.ref_name }}/${ARTIFACT} --region us-west-2 --acl public-read

- name: Upload tagged stable build to S3 latest Bucket
if: github.event_name == 'push' && github.ref_type == 'tag'
working-directory: ${{ runner.temp }}/shadow_build_dir/package
run: |
aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }}
aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws s3 cp ${ARTIFACT} s3://qgroundcontrol/latest/${ARTIFACT} --region us-west-2 --acl public-read
- name: Publish artifact to GitHub release
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ runner.temp }}/shadow_build_dir/package/${{ env.ARTIFACT }}
asset_name: ${{ env.ARTIFACT }}
tag: ${{ github.ref }}
overwrite: true
35 changes: 19 additions & 16 deletions .github/workflows/windows_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,19 +107,22 @@ jobs:
name: qgroundcontrol.pdb
path: ${{ runner.temp }}\shadow_build_dir\staging\qgroundcontrol.pdb

- name: Upload build to S3 Bucket
if: github.event_name == 'push'
working-directory: ${{ runner.temp }}\shadow_build_dir\staging
run: |
aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }}
aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws s3 cp ${{ env.ARTIFACT }} s3://qgroundcontrol/builds/${{ github.ref_name }}/${{ env.ARTIFACT }} --region us-west-2 --acl public-read

- name: Upload tagged stable build to S3 latest Bucket
if: github.event_name == 'push' && github.ref_type == 'tag'
working-directory: ${{ runner.temp }}\shadow_build_dir\staging
run: |
aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }}
aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws s3 cp ${{ env.ARTIFACT }} s3://qgroundcontrol/latest/${{ env.ARTIFACT }} --region us-west-2 --acl public-read

- name: Publish installer artifact to GitHub release
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ runner.temp }}\shadow_build_dir\staging\${{ env.ARTIFACT }}
asset_name: ${{ env.ARTIFACT }}
tag: ${{ github.ref }}
overwrite: true

- name: Publish PDB artifact to GitHub release
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ runner.temp }}\shadow_build_dir\staging\qgroundcontrol.pdb
asset_name: qgroundcontrol.pdb
tag: ${{ github.ref }}
overwrite: true
4 changes: 4 additions & 0 deletions QGCCommon.pri
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@ AndroidBuild {
DEV_VERSION = $$join(DEV_VERSION, "", "0")
}

# Use a shell command to strip "rc" and everything after it.
# Otherwise rc version tags will break the Android build.
PATCH_VERSION = $$system(echo $$PATCH_VERSION | sed 's/rc.*//')

# Bitness for android version number is 66/34 instead of 64/32 in because of a required version number bump screw-up ages ago
equals(ANDROID_TARGET_ARCH, arm64-v8a) {
ANDROID_TRUE_BITNESS = 64
Expand Down
6 changes: 5 additions & 1 deletion android/src/org/mavlink/qgroundcontrol/QGCActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,11 @@ public void onCreate(Bundle savedInstanceState)
_instance.registerReceiver(_instance._usbReceiver, filter);

// Create intent for usb permission request
_usbPermissionIntent = PendingIntent.getBroadcast(_instance, 0, new Intent(ACTION_USB_PERMISSION), 0);
int intentFlags = 0;
if (android.os.Build.VERSION.SDK_INT >= 23) {
intentFlags = PendingIntent.FLAG_IMMUTABLE;
}
_usbPermissionIntent = PendingIntent.getBroadcast(_instance, 0, new Intent(ACTION_USB_PERMISSION), intentFlags);

// Workaround for QTBUG-73138
if (_wifiMulticastLock == null)
Expand Down
3 changes: 3 additions & 0 deletions crowdin_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
files:
- source: /docs/en/**/*.md
translation: /docs/%two_letters_code%/**/%original_file_name%
6 changes: 5 additions & 1 deletion docs/.vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineConfig } from "vitepress";

// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "QGC Guide (4.3)",
title: "QGC Guide (4.4)",
description:
"How to use and develop QGroundControl for PX4 or ArduPilot powered vehicles.",
ignoreDeadLinks: true, // Do this for stable, where we don't yet have all translations
Expand Down Expand Up @@ -152,6 +152,10 @@ export default defineConfig({
text: "v4.3",
link: "https://docs.qgroundcontrol.com/Stable_V4.3/en/",
},
{
text: "v4.4",
link: "https://docs.qgroundcontrol.com/Stable_V4.4/en/",
},
],
},
],
Expand Down
26 changes: 13 additions & 13 deletions docs/en/qgc-dev-guide/command_line_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,38 @@ You will need to open a command prompt or terminal, change directory to where **

Windows Command Prompt:

```bash
```sh
cd "\Program Files (x86)\qgroundcontrol"
qgroundcontrol --logging:full
```

OSX Terminal app (**Applications/Utilities**):

```bash
```sh
cd /Applications/qgroundcontrol.app/Contents/MacOS/
./qgroundcontrol --logging:full
```

Linux Terminal:

```bash
```sh
./qgroundcontrol-start.sh --logging:full
```

## Options

The options/command line arguments are listed in the table below.

| Option | Description |
| --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--clear-settings` | Clears the app settings (reverts _QGroundControl_ back to default settings). |
| `--logging:full` | Turns on full logging. See [Console Logging](https://docs.qgroundcontrol.com/en/settings_view/console_logging.html#logging-from-the-command-line). |
| `--logging:full,LinkManagerVerboseLog,ParameterLoaderLog` | Turns on full logging and turns off the following listed comma-separated logging options. |
| `--logging:LinkManagerLog,ParameterLoaderLog` | Turns on the specified comma separated logging options |
| `--unittest:name` | (Debug builds only) Runs the specified unit test. Leave off `:name` to run all tests. |
| `--unittest-stress:name` | (Debug builds only) Runs the specified unit test 20 times in a row. Leave off :name to run all tests. |
| `--fake-mobile` | Simulates running on a mobile device. |
| `--test-high-dpi` | Simulates running _QGroundControl_ on a high DPI device. |
| Option | Description |
| --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| `--clear-settings` | Clears the app settings (reverts _QGroundControl_ back to default settings). |
| `--logging:full` | Turns on full logging. See [Console Logging](../../qgc-user-guide/settings_view/console_logging.html#logging-from-the-command-line). |
| `--logging:full,LinkManagerVerboseLog,ParameterLoaderLog` | Turns on full logging and turns off the following listed comma-separated logging options. |
| `--logging:LinkManagerLog,ParameterLoaderLog` | Turns on the specified comma separated logging options |
| `--unittest:name` | (Debug builds only) Runs the specified unit test. Leave off `:name` to run all tests. |
| `--unittest-stress:name` | (Debug builds only) Runs the specified unit test 20 times in a row. Leave off :name to run all tests. |
| `--fake-mobile` | Simulates running on a mobile device. |
| `--test-high-dpi` | Simulates running _QGroundControl_ on a high DPI device. |

Notes:

Expand Down
35 changes: 24 additions & 11 deletions docs/en/qgc-dev-guide/getting_started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
qt_version: 5.15.2
---

# Getting Started
# Getting Started with Source and Builds

This topic explains how to get the _QGroundControl_ source code and build it either natively or within a _Vagrant_ environment.
It also provides information about optional or OS specific functionality.

## Daily Builds

If you just want to test (and not debug) a recent build of _QGroundControl_ you can use the [Daily Build](https://docs.qgroundcontrol.com/en/releases/daily_builds.html). Versions are provided for all platforms.
If you just want to test (and not debug) a recent build of _QGroundControl_ you can use the [Daily Build](../../qgc-user-guide/releases/daily_builds.md).
Versions are provided for all platforms.

## Source Code

Expand All @@ -19,11 +20,14 @@ It is [dual-licensed under Apache 2.0 and GPLv3](https://github.com/mavlink/qgro
To get the source files:

1. Clone the repo (or your fork) including submodules:
```

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

2. Update submodules (required each time you pull new source code):
```

```sh
git submodule update --recursive
```

Expand Down Expand Up @@ -133,9 +137,11 @@ To install Qt:
:::

- **Ubuntu:**

- Airmap: Create a file named **user_config.pri** (in the repo root directory) containing the text `DEFINES += DISABLE_AIRMAP`.
This can be done in a bash terminal using the command:
```

```sh
echo -e "DEFINES += DISABLE_AIRMAP\r\n" | tee user_config.pri
```

Expand Down Expand Up @@ -165,37 +171,44 @@ To install Qt:
Example commands to build a default QGC and run it afterwards:

1. Make sure you cloned the repository and updated the submodules before, see chapter _Source Code_ above and switch into the repository folder:
```

```sh
cd qgroundcontrol
```

1. Create and enter a shadow build directory:
```

```sh
mkdir build
cd build
```

1. Configure the build using the qmake script in the root of the repository:
```

```sh
qmake ../
```

1. Run make to compile and link.
To accelerate the process things you can use the `-j{number of threads}` parameter.

```
```sh
make -j12
```

::: info
You can also specify build time flags here.
For example, you could disable airmap inclusion using the command:

```
```sh
DEFINES+=DISABLE_AIRMAP make build
```

:::

1. Run the QGroundcontrol binary that was just built:
```

```sh
./staging/QGroundControl
```

Expand Down
10 changes: 3 additions & 7 deletions docs/en/qgc-dev-guide/tools/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ and accessing the System Shell over MAVLink.
Tools include:

- **[Mock Link](../tools/mock_link.md)** (Daily Builds only) - Creates and stops multiple simulated vehicle links.
- **[Replay Flight Data](https://docs.qgroundcontrol.com/en/app_menu/replay_flight_data.html)** - Replay a telemetry log (User Guide).
- **[MAVLink Inspector](https://docs.qgroundcontrol.com/en/app_menu/mavlink_inspector.html)** - Display received MAVLink messages/values.
- **[MAVLink Analyzer](https://docs.qgroundcontrol.com/en/app_menu/mavlink_analyzer.html)** - Plot trends for MAVLink messages/values.
- **[Custom Command Widget](https://docs.qgroundcontrol.com/en/app_menu/custom_command_widget.html)** - Load custom/test QML UI at runtime.
- **[Onboard Files](https://docs.qgroundcontrol.com/en/app_menu/onboard_files.html)** - Navigate vehicle file system and upload/download files.
- **[HIL Config Widget](https://docs.qgroundcontrol.com/en/app_menu/hil_config.html)** - Settings for HIL simulators.
- **[MAVLink Console](https://docs.qgroundcontrol.com/en/analyze_view/mavlink_console.html)** (PX4 Only) - Connect to the PX4 nsh shell and send commands.
- **[Replay Flight Data](../../qgc-user-guide/fly_view/replay_flight_data.md)** - Replay a telemetry log (User Guide).
- **[MAVLink Inspector](../../qgc-user-guide/analyze_view/mavlink_inspector.html)** - Display received MAVLink messages/values and plot trends.
- **[MAVLink Console](../../qgc-user-guide/analyze_view/mavlink_console.html)** (PX4 Only) - Connect to the PX4 nsh shell and send commands.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ It is possible to manually build 32 bit versions (this is not supported by the d

_QGroundControl_ can be installed on macOS 10.11 or later:

<!-- match version using https://dev.qgroundcontrol.com/master/en/getting_started/#native-builds -->
<!-- match version using https://docs.qgroundcontrol.com/master/en/qgc-dev-guide/getting_started/#native-builds -->
<!-- usually based on Qt macOS dependency -->

1. Download [QGroundControl.dmg](https://d176tv9ibo4jno.cloudfront.net/latest/QGroundControl.dmg).
Expand Down
Loading
Loading