GUI (Qt5, Depreciated)
Older than Dec 12, 2022
Last updated
Older than Dec 12, 2022
Last updated
Create an account if you don't have one. We are using the Community (Open Source) version of QT. It is free to use for non-commercial use.
When you get to Select Components choose the following options. You can come back and add / remove items later using their maintenance tool if you missed one or added too many.
Under QT Select Categories LTS and click filter
Under 5.15.2 choose just the MinGW 8.1.0 64 Bit Option
Under Developer Tools, you want to add MinGW 8.1.0 64 bit
Complete the installation wizard.
Choose File -> Open File or Project
On the first time opening it will ask how you want to configure it. Default is okay. Click Configure Project
In QT You set the Release or Debug mode here. You probably want Debug.
Click the Play Button. It should Compile and your done!
QT uses a Shadow build by default. Which means it build everything in a separate folder. We need to make add an item into that folder for the firmware list to work. I add it before a release.
Default shadow build folder
gui/build-HeadTracker-Desktop_Qt_5_15_2_MinGW_64_bit-Debug
You need to create a sources.ini (The firmware sources). The below file will allow you to see all the current online firmware in the GUI list. You can also add a localfirmware.ini if you want.
sources.ini
localfirmware.ini
You can customize this file so it directly grabs from you firmware build folder, so you can just click upload firmware to use the one just compiled. See the last section on how to do this.