PDA

View Full Version : SVN Revs number



baray98
21st September 2007, 23:35
Hi, I am wondering how can i put the SVN revs number in my about widget where it should be dynamic ( it should get it from whatever revs my sourcefile is ).

(please see attached file)

baray98

momesana
21st September 2007, 23:45
Maybe you should use a script or whateva means there are to set the Revision number in a Variable in the pro file and read the macro out later in your code.

http://www.qtcentre.org/forum/f-qt-programming-2/t-getting-version-from-code-8283.html

jpn
21st September 2007, 23:50
There's also an example in our wiki: http://wiki.qtcentre.org/index.php?title=Version_numbering_using_QMake