MacVersion QSysInfo::macVersion() [static]
Returns the version of Mac OS X on which the application is run (Mac OS X Only).
WinVersion QSysInfo::windowsVersion() [static]
Returns the version of the Windows operating system on which the application is run (Windows only).
This function was introduced in QtCore 4.4.
例:
QSysInfo::windowsVersion() == QSysInfo::WV_6_0