[Development] [QtIFW] Getting Version

Konstantin Podsvirov konstantin at podsvirov.pro
Thu Oct 23 12:21:11 CEST 2014

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.

The code, which will enter into CMake-3.1.0-rc1 does not check the version QtIFW.
I checked on QtIFW 1.5.0 and 1.5.~82 (1.6) and everything works fine, but what happens next? :-)

Konstantin Podsvirov

More information about the Development mailing list