Reputation: 1974
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.
Upvotes: 1
Views: 326
Reputation: 7048
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.
Upvotes: 1
Reputation: 21089
Based on your comment and with no knowledge of qmake, my suggestion would be to simply write a short (two lines should be enough) script that runs qmake as desired and then executes your shell script.
Upvotes: 0