PDA

View Full Version : version #'s?



gfunk
10th December 2007, 20:14
Does Qt have any support for setting or storing (and retrieving) the version of an executable compiled with Qt? I know that Windows and Mac seem to have some support for this (if you click on Properties or Get Info, it may show something about the version of the file). Just wondering if I'm missed in the documentation, I only see stuff about getting the version of the OS. I'd just be using this version number for my own project's internal versioning.

high_flyer
11th December 2007, 11:11
yes, qmake (http://doc.trolltech.com/4.3/qmake-variable-reference.html#version)supports version numbering
The doc says its for libs.
I don't know if it will work for apps.
This thread (http://www.qtcentre.org/forum/f-qt-programming-2/t-getting-version-from-code-8283.html)might be interesting too.