I want to implement an autoincrement builds counter. For example, I'm define some constant in one of #include files of my project, like this
Qt Code:
  1. #define BUILD_NUM 123
To copy to clipboard, switch view to plain text mode 
And now I need that BUILD_NUM on each build will increment on 1. How to do that?

--
Qt 4.6 for Win32, QtCreator