迎风的舵手

勤学似春起之苗,不见其增,日有所长;辍学如磨刀之石,不见其损,日有所亏.

Qt中判断操作系统版本

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

阅读更多
版权声明:http://blog.csdn.net/robertkun https://blog.csdn.net/robertkun/article/details/38657161
文章标签: 操作系统
个人分类: Qt
所属专栏: 初识Qt
想对作者说点什么? 我来说一句

qt 获取win操作系统版本信息

11

tjdgluo tjdgluo

2015-05-08 16:48:19

阅读数:1159

没有更多推荐了,返回首页

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭