make install
The easy way to install your Qt program with qmake is to add this to your .pro file:
target.path = /usr/local/myprogram INSTALLS += target
qmake will find itself what is the binary to copy to the target path. According to the documentation [1], only target and dlltarget …
read more