PDA

View Full Version : QtCreator PostBuild step solution



vladeck
18th December 2009, 14:18
This might be useful to someone:

PROBLEM: Execute post-build script (.bat, .cmd) after building the project

SOLUTION:
- create PostBuild.bat in your project directory with the commands you need to be executed after the build is done (copying conf files, other resources, ...)
- go to projects, add custom build step, name it (for example) PostBuild
- for command enter cmd
- for working directory enter $BUILDDIR
- for command arguments enter /c PostBuild.bat