Is there a command to check the version of the installed Qt on Mac OS X. My Mac OS X version is 10.6.7.
Eidt: Update the status 10/28/2011
When running /usr/sbin/system_profiler SPFrameworksDataType, the version of the QTkit is 7.6.6.
The value of the macro QT_VERSION_STR in qglobal.h is “4.7.2”.
I’m confused why the two version strings are different? Obviously, the version string “4.7.2” is what I want.
Thanks,
Jeffrey
IF you speak about programming here…: At compile time you can check Qt’s version with
QT_VERSION_STR. During runtime you can useqVersion(). Obviously, the version you build you application with does not always match the version you run it with.