PDA

View Full Version : Application version



GrahamLabdon
24th February 2011, 12:58
Hi
I have made an application and now want to provide a 'Help->About' message box.
In this message box I want to display some version information.

Is there a recommended way to do this?
I see I can put VERSION=x.x.x into the .pro file but don't know how (or if) I can access this from within my code

TIA

Graham

high_flyer
24th February 2011, 13:42
have look here:
http://www.qtcentre.org/wiki/index.php?title=Version_numbering_using_QMake