My current workflow:
hg update
(or whatever one uses to check out a revision)MyProject.pro
→qmake
→MyProject.vcproj
- Open Visual Studio, edit files
- Build project
During the build step, how can I update my config.h
header file with information from version control system (e.g. hg id
)?
MyProject.vcproj
is generated by qmake
, so I shouldn't edit it by hand.