How can I execute a command in qmake after everything is finished?
QMAKE_POST_LINK doesn’t do the trick because it is executed after linking, but before qmake moves the binary to the defined directory. I need it executed when everything is already in place.
Try using QMake’s INSTALLS variable. It creates an ‘install’ step in the makefile that will need to be run manually (make install), but it can both move files and execute arbitrary commands.