简体   繁体   中英

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)? Available editions are Home , Pro , Education and Enterprise . I do not like to use Win API functions to detect it. I know about the QSysInfo class, but it does not offer any functionality to find out the current edition.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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