The VESC firmware repository includes a Qt Creator project for development. The Makefile provides an installer target that downloads and configures Qt Creator automatically.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/vedderb/bldc/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before running the Qt installer, make sure you have Python 3 and pip available. See Prerequisites for installation instructions. Then installaqtinstall, the tool used by make qt_install to download Qt:
Install Qt Creator
Run the Qt installer target from the repository root:tools/Qt/ directory inside the repository. No system-wide Qt installation is required.
All tools installed by Makefile targets are placed under the
tools/ directory. The build output goes to build/. Nothing is installed system-wide.Open the project
Launch Qt Creator
Open the Qt Creator binary installed by the previous step:On Windows, navigate to
tools\Qt\Tools\QtCreator\bin\qtcreator.exe in Explorer and double-click it.Open the vesc.pro project
Inside Qt Creator, open the VESC firmware Qt Creator project:Use File → Open File or Project and browse to
vesc.pro inside the Project/Qt Creator/ directory.Select your hardware target
The project defaults to building the
100_250 firmware. To change the target hardware:- Look at the bottom of the left panel in Qt Creator.
- You will find a list of all hardware variants supported by VESC.
- Select the entry that matches your board.
Changing the hardware target
The hardware target controls which board-specific header and source files are compiled. All supported hardware variants are listed at the bottom of the left panel in Qt Creator. If your board is not listed, you can define a custom hardware configuration. Seeconf_general.h and the fw_custom make target described in Build firmware.
