Management UI
You should have cloned the root project and it's sub-modules (which includes this project directory).
That-way the parent directory contains the HIDAPI and teensy_fan_controller projects.
Windows
Prerequisites:
Qt Installer
MSVC 2017 64-bit
Recent Qt release (Qt 5.13.2 at time of writing) for MSVC 2017 64-bit
Qt Charts component
The application is NOT compatible with MinGW builds due to the use of hidapi. HIDAPI will compile with mingw32 (NOT mingw64-32bit), however Qt must be built from source to use this stack.
Note:
First, build the static HIDAPI library:
Launch x64 Native Tools Command Prompt for VS 2017
Add Qt5 to PATH, fe.:
Change directory to HIDAPI
Run qmake:
Run nmake:
Verify HIDAPI.lib was created:
Building the Fan Controller UI:
Until the Fan Controller UI's installer is published, it is easiest to run the application using Qt Creator.
You may build using the CLI with qmake and nmake, but will have to copy all Qt runtime dependencies (qml, plugins, dlls) into the release directory to start the application.
Linux (Ubuntu 18.04)
Prerequisites:
Qt Installer
Recent Qt release (Qt 5.13.2 at time of writing) for GCC 64-bit
Qt Charts component
apt install build-essential libxkbcommon-x11-0 libhidapi-dev libhidapi-hidraw0 libgl1 libgl1-mesa-dev libx11-xcb1
I experienced issues launching the application using X11 forwarding and ended up installing and launching xfce (apt install xfce4
).
First, build the static HIDAPI library:
In non-root Shell, add Qt5 to PATH, fe.:
Change directory to HIDAPI, fe.:
Run qmake:
Run make:
Verify libHIDAPI.a was created:
Build the Fan Controller UI:
Change directory to HIDAPI, fe.:
Run qmake:
Run make:
Launch using
sudo
(note: replace /home/username/Qt/5.13.2 with path to Qt release):
Last updated