[Qt-interest] QMake hack to create compile-tme 'build version' string
Joseph Crowell
joseph.w.crowell at gmail.com
Tue Oct 18 04:12:37 CEST 2011
On 10/17/2011 8:36 PM, Syam Krishnan wrote:
> On 18-10-2011 03:08, Joseph Crowell wrote:
>> Here is an example using mercurial.
>> http://qtcreator.blogspot.com/2010/05/code-to-generate-version-number-header.html
>> A member of one of my projects has successfully modified this for use on
>> Subversion. It worked quite well once we got it going right.
> Thanks for the link. But it doesn't say how to invoke the generator
> 'tool' from the QMake file.
> Was it done using QMAKE_PRE_LINK?
>
> Syam
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
Have a look here: http://quazaa.svn.sourceforge.net/viewvc/quazaa/trunk/
Our project file in the Quazaa folder has the call to an executable
which is located in the version folder which fetches version infromation
from subversion and creates a header. It's similar to what automoc does
with .ui files.
More information about the Qt-interest-old
mailing list