[Qt-interest] [OT] build date

Oliver.Knoll at comit.ch Oliver.Knoll at comit.ch
Tue Mar 16 13:47:49 CET 2010


Andre Somers wrote on Tuesday, March 16, 2010 12:25 PM:

>> ...
>> http://www.google.com/search?hl=en&q=__date__
>> 
>> 
> Note that that only works if that specific project file is actually
> rebuild. If it has not changed/was not touched since the last build,

As a best practise: I hence put the SVN build number etc. into a "Version.cpp" file which will get updated/committed anyway (version number increase: 1.0.0 -> 1.0.1 etc.) when doing a new release :)

Cheers, Oliver
-- 
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22



More information about the Qt-interest-old mailing list