On 13-12-30 12:31 AM, Li Anthony 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? > Thanks. >
For compile time you could use this: http://qt-project.org/doc/qt-5/qtglobal.html#QT_VERSION If using pkg-config you could also use something like this: pkg-config --modversion Qt5Core Cheers, Matthew Brush _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
