One more question. I found my tree is still in 5.1.1. I have do git pull in qt5 
directory. How should I do to update source code to 5.2.0?

From: Jason McDonald [mailto:[email protected]]
Sent: 2013年12月30日 16:51
To: Li Anthony
Cc: <[email protected]>
Subject: Re: [Development] Howto know the Qt version in Qt source code



On Mon, Dec 30, 2013 at 6:31 PM, Li Anthony 
<[email protected]<mailto:[email protected]>> 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"
Regards,
--
Jason
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to