[Interest] x-platform way to pull app version?

Thiago Macieira thiago.macieira at intel.com
Tue Feb 2 02:05:30 CET 2016


On Monday 01 February 2016 20:20:51 André Somers wrote:
> Easiest is to let your buildsystem generate some cpp code with the version
> numbers in each build. We compiled in version number, git id an time & date
> with a simple script called from qmake on every build.

Note that it's a bad idea to embed the time and date. A build from the exact 
same sources should produce the exact same binary.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list