[Development] [QtIFW] Getting Version
Milian Wolff
milian.wolff at kdab.com
Thu Oct 23 11:58:41 CEST 2014
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
More information about the Development
mailing list