[Development] [QtIFW] Getting Version

Koehne Kai Kai.Koehne at theqtcompany.com
Thu Oct 23 12:50:43 CEST 2014

> -----Original Message-----
> From: Konstantin Podsvirov [mailto:konstantin at podsvirov.pro]
> Sent: Thursday, October 23, 2014 12:21 PM
> To: Koehne Kai; development at qt-project.org
> Subject: Re: [Development] [QtIFW] Getting Version
> Hi Kai!
> 23.10.2014, 14:05, "Koehne Kai" <Kai.Koehne at theqtcompany.com>:
> >> Is it possible to make a program with this flag was issued a short
> >> string of fixed format version number to standard output and has
> >> completed its work?
> > We could add something like '--versionnumber" that'll just print the
> number in major.minor.patch format.
> This idea I like :-)
> > Anyhow, I'm curious why you need this in the first place!
> I already wrote about CPackIFW generator for CMake. He uses QtIFW
> command line tools to create the installer.
> From version to version of the command-line interface tools may change.
> So I need to get (in quiet mode) version QtIFW for individual work with each
> version.

Here's a patch:


Anyhow, this will appear earliest in the IFW 2.0 release.

(Wish other tools would have the same actually ... E.g. just finding out the gdb version can be really a pain, see https://bugzilla.novell.com/show_bug.cgi?id=851105 .)



More information about the Development mailing list