[Development] [QtIFW] Getting Version

Konstantin Podsvirov konstantin at podsvirov.pro
Thu Oct 23 12:07:31 CEST 2014


Milian, Thanks for the reply!

But I am interested in the version QtIFW - it has its own numbering.

http://qt-project.org/doc/qtinstallerframework/index.html

23.10.2014, 13:58, "Milian Wolff" <milian.wolff at kdab.com>:
> On Thursday 23 October 2014 09:18:59 Konstantin Podsvirov wrote:
>> Hello developers of Qt Installer Framework!
>>
>> How can I get the version of the framework?
>>
>> I know that the program "installerbase" returns a long string that contains
>> the version and it was good.
>>
>> But:
>>
>> - The format of this string is nowhere documented (or I just have not found
>> it);
>>
>> - The application opens a new window (the console) and waits for user input
>> to complete.
>>
>> It is not convenient for software interaction.
>>
>> 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?
>>
>> Are there ways to get the version of the framework?
>
> $ qmake-qt5 --version
> QMake version 3.0
> Using Qt version 5.4.0 in /home/milian/projects/compiled/qt5/lib
>
> That enough? You can also use the QT_VERSION macro in code if you need it
> there.
>
> Bye
> --
> Milian Wolff | milian.wolff at kdab.com | Software Engineer
> KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
> Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090
> KDAB - Qt Experts - Platform-independent software solutions

Regards,
Konstantin Podsvirov



More information about the Development mailing list