How to execute shell command after compile finished from .pro in QT?
I had a similar problem. I wanted a special tool (versioner) to run over the code every time the Makefile was executed. Here’s the solution: (to be read in the Qmake Manual, Configuring qmake’s Environment, Section: Customizing Makefile Output) Create you own Makefile target. Specify the command etc. mytarget.target = .buildfile mytarget.commands = touch $$mytarget.target … Read more