Linux And Raspberry Pi:
======================
Install Qt5 libraries and build tools
then type the following in a terminal:
$ sudo apt update
$ sudo apt upgrade
$ sudo apt install make gcc qt5-default
$ qmake
$ make
Mac OS X:
=========
Install Qt5 libraries and build tools
then type the following in a terminal:
qmake -spec macx-g++
make