简体   繁体   English

使用Qt5检测Windows 10 Edition

[英]Detecting Windows 10 Edition using Qt5

Is there a possibility in Qt5.x (and up) to detect the current Edition of Windows 10 (assuming that the application is running on Windows 10)? Qt5.x(及以上版本)是否有可能检测到当前版本的Windows 10(假设应用程序在Windows 10上运行)? Available editions are Home , Pro , Education and Enterprise . 可用版本包括HomeProEducationEnterprise I do not like to use Win API functions to detect it. 我不喜欢使用Win API函数来检测它。 I know about the QSysInfo class, but it does not offer any functionality to find out the current edition. 我知道QSysInfo类,但它没有提供任何功能来查找当前版本。

如果您在Qt 5上一般都在寻找Windows 10检测(不是版本,而是在Win 8.1或Win 10上运行的简单事实),请参阅我的帖子: C ++如何检测Windows 10

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM