[Development] Howto know the Qt version in Qt source code

Jason McDonald macadder1 at gmail.com
Mon Dec 30 09:50:37 CET 2013

On Mon, Dec 30, 2013 at 6:31 PM, Li Anthony <Anthony.Li at digia.com> wrote:

>   Hi,
> Maybe this is a silly question. But I always want to know the Qt version
> when I compile Qt from source code. Is there a version file or some easy
> way that I can find in source code?
qglobal.h contains the following definitions that you may find useful:

#define QT_VERSION 0x050300
#define QT_VERSION_STR   "5.3.0"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20131230/a5a91beb/attachment.html>

More information about the Development mailing list