[Qt-interest] QMake pre-build step?

Robert Caldecott robert.caldecott at gmail.com
Thu Jul 30 14:36:14 CEST 2009


I think I am out of luck, but here goes...

Is there any way to add a 'pre-build' step to a .pro file so you can
execute a target _every_ time a project is built?  I already use the
QMAKE_POST_LINK command to run unit tests after linking, but I have a
script that generates my project's version number and I need to run it
every time I make the project - even if none of the project's .cpp/.h
files have changed...

Can this be done?  If not, is is likely to be a planned addition to qmake?



More information about the Qt-interest-old mailing list