Management UI

Windows

Prerequisites:

  1. Qt Installer

  2. MSVC 2017 64-bit

  3. Recent Qt release (Qt 5.13.2 at time of writing) for MSVC 2017 64-bit

  4. Qt Charts component

Note:

First, build the static HIDAPI library:

  1. Launch x64 Native Tools Command Prompt for VS 2017

  2. Add Qt5 to PATH, fe.:

     SET PATH=%PATH%;c:\share\Qt\5.13.2\msvc2017_64\bin
  3. Change directory to HIDAPI

  4. Run qmake:

     qmake
  5. Run nmake:

     nmake
  6. Verify HIDAPI.lib was created:

         dir windows\HIDAPI.lib
    
         ...
         12/30/2019  11:03 AM            27,960 HIDAPI.lib

Building the Fan Controller UI:

Linux (Ubuntu 18.04)

Prerequisites:

  1. Qt Installer

  2. Recent Qt release (Qt 5.13.2 at time of writing) for GCC 64-bit

  3. Qt Charts component

  4. 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:

  1. In non-root Shell, add Qt5 to PATH, fe.:

  2. Change directory to HIDAPI, fe.:

  3. Run qmake:

  4. Run make:

  5. Verify libHIDAPI.a was created:

Build the Fan Controller UI:

  1. Change directory to HIDAPI, fe.:

  2. Run qmake:

  3. Run make:

  4. Launch using sudo (note: replace /home/username/Qt/5.13.2 with path to Qt release):

Last updated

Was this helpful?