To build on Linux, run qmake && make after installing the relevant Qt packages and a C++ compiler.
On Arch Linux; pacman -S gcc qt5-base
.
On Fedora; dnf install make gcc-c++ qt-devel
.
On Debian; apt install make g++ qt5base-dev
.
On macOS using the official Qt SDK package is probably the easiest: https://download.qt.io/archive/qt/5.10/5.10.1/qt-opensource-mac-x64-5.10.1.dmg