> -----Original Message----- > From: Konstantin Podsvirov [mailto:[email protected]] > Sent: Thursday, October 23, 2014 12:21 PM > To: Koehne Kai; [email protected] > Subject: Re: [Development] [QtIFW] Getting Version > > Hi Kai! > > 23.10.2014, 14:05, "Koehne Kai" <[email protected]>: > > >> 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: https://codereview.qt-project.org/#/c/97934/ 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 .) Regards Kai _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
