Head Tracker v2.1
  • Head Tracker v2.1
    • HeadTracker v2.2
  • Getting Started
    • Hardware Required
    • Software Installation
      • Flashing Firmware
    • Wiring
      • Option 1- Bluetooth
        • Adding a FrSky BT Module
        • Checking Bluetooth Functionality?
      • Option 2 - Wired
        • Pulse Position Modulation (PPM)
          • Trainer Ports
        • Serial Bus (SBUS)
          • Radio Master TX16S Setup
          • FrSky Taranis X9D
      • Option 3 - Bridged
        • Radio Master TX16S Mk2
      • Analog Input
      • Digital Inputs
      • PPM Input
      • PWM Output
      • ELRS Setup
      • Flight Stick
    • Mounting
      • User Designed Cases
    • Structure of the Application
    • IMU, Calibration and Drift
    • Extended Servo Range
  • Settings
    • GUI Setup
      • Tilt / Roll / Pan
      • General
      • Output
      • Input
      • Bluetooth
      • PWM
      • Analog
      • Aux
  • Radio Setup
    • How to Edit Documentation
    • Open/Edge TX
      • Color Screen Radios
      • Black and White Radios
    • Jeti
    • Spektrum
      • NX
      • DX
        • DX18
    • Flysky
    • Frsky - Ethos
  • Videos
    • YouTube
  • Support
    • Discord Chat
    • Issues
    • Development
      • Firmware
        • Debugging
        • Arduino Nano 33 BLE
        • IMU Sensor Chip
      • GUI (Qt6)
      • GUI (Qt5, Depreciated)
      • Git Workflow and Actions
  • Links
    • Download
    • GitHub Page
    • RC Groups Forum
Powered by GitBook
On this page
  • Install QT Creator 5
  • Open QT Creator + Load the Project File
  • Other Notes

Was this helpful?

  1. Support
  2. Development

GUI (Qt5, Depreciated)

Older than Dec 12, 2022

PreviousGUI (Qt6)NextGit Workflow and Actions

Last updated 2 years ago

Was this helpful?

Install QT Creator 5

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.

Open QT Creator + Load the Project File

Choose File -> Open File or Project

Choose

/src/gui/HeadTracker.pro

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!

Other Notes

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

[General]
Online v2.0x=https://raw.githubusercontent.com/dlktdr/HeadTracker/master/firmware/bin/firmware20.ini
Online v0.9x=https://raw.githubusercontent.com/dlktdr/HeadTracker/master/firmware/bin/firmware09.ini
Online v0.8x=https://raw.githubusercontent.com/dlktdr/HeadTracker/master/firmware/bin/firmware08.ini
Online v0.7x=https://raw.githubusercontent.com/dlktdr/HeadTracker/master/firmware/bin/firmware04.ini
Shipped=file://localfirmware.ini

localfirmware.ini

[Arduino%20Nano%20BLE%2033%20-%20Version%200.9]
Filename=file://BLE v0.9.bin
Version=0.9
Notes=Visit https://github.com/dlktdr/headtracker

[Arduino%20Nano%20BLE%2033%20-%20Version%201.0%20ONLINE]
Filename=https://raw.githubusercontent.com/dlktdr/HeadTracker/master/firmware/bin/BLE v0.9.bin
Version=0.9
Notes=Visit https://github.com/dlktdr/headtracker

[Debugger 1.0 RC1]
Filename=file://Y:/Programming/HeadTracker/HeadTracker - CombineFW/firmware/src/Nano33BLE/.pio/build/HeadTracker_Nano33BLE/firmware.bin
Version=1.0
Notes=Combine FW

[Debugger 0.9]
Filename=file://Y:/Programming/HeadTracker/HeadTracker - Master/firmware/src/Nano33BLE/.pio/build/HeadTracker_Nano33BLE/firmware.bin
Version=0.93
Notes=Master FW

[Para Master v1.4]
Filename=file://Y:/Programming/HeadTracker/Para_Master/para_master/.pio/build/Para_Master/firmware.bin
Version=1.4
Notes=Master FW

[Zephyr 2.0 BIN]
Filename=file://Y:/Programming/HeadTracker/HeadTracker_Zypher/.pio/build/Head_Tracker_Zypher/firmware.bin
Version=2.0
Notes=Zephyr Master

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.

Using the GIT repository cloned from the .

Firmware Setup
Download Qt: Get Qt Online Installer
Logo