Qt Creator IDE

:::warning Qt Creator has been replaced by VSCode as the officially supported (and recommended) IDE for PX4 development. :::

Qt Creatorarrow-up-right is a popular cross-platform open-source IDE that can be used to compile and debug PX4.

Qt Creator Functionality

Qt creator offers clickable symbols, auto-completion of the complete codebase and building and flashing firmware.

The video below shows how it is used.

@youtubearrow-up-right

IDE Setup

Qt Creator on Linux

Before starting Qt Creator, the project filearrow-up-right needs to be created:

Then load the CMakeLists.txt in the root PX4-Autopilot folder via File > Open File or Project (Select the CMakeLists.txt file).

After loading, the play button can be configured to run the project by selecting 'custom executable' in the run target configuration and entering 'make' as executable and 'upload' as argument.

Qt Creator on Windows

:::note Windows has not been tested for PX4 development with Qt Creator. :::

Qt Creator on Mac OS

Before starting Qt Creator, the project filearrow-up-right needs to be created:

That's it! Start Qt Creator, then complete the steps in the video below to set up the project to build.

@youtubearrow-up-right

Last updated