Finding out version of Qt source?



  • Probably a simple stupid question but I haven't found an answer:

    when building Qt from source, i want my target directory (-prefix) to match the Qt version... so I'd like to know how I figure the version so I can use it to parameter my prefix folder name.

    Any ideas?

    Thanks for help.



  • the version is found in

    ..\Qt\5.0.1\Src\qtbase\src\corelib\global\qglobal.h

    there is a define:

    #define QT_VERSION_STR "5.0.1"

    in that file you can have a look.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.