To build the qp.cpp application, install Qt 4.X with developement headers and run in a folder containing nothing but qp.cpp:

qmake -project
qmake
make
