Initial template Qt project copied from https://www.linux.org/threads/c-tutorial-create-qt-applications-without-qtcreator.18409/.
g++
make
qmake
qtdeclarative5-dev
To initialize (only necessary once):
mkdir -p build
qmake -project -o build/cpp-qt-gui-template.pro
sed -i '/^INCLUDEPATH.*/a \\nQT += widgets' build/cpp-qt-gui-template.pro
To build:
qmake -o build/Makefile cpp-qt-gui-template.pro
make --directory=build
To run:
./build/cpp-qt-gui-template
To clean:
make --directory=build distclean