Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Detecting Windows 10 Edition using Qt5

Tags:

c++

qt

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.

like image 529
Vertexwahn Avatar asked Jan 18 '26 07:01

Vertexwahn


1 Answers

If you looking for Windows 10 detection in general on Qt 5 (not the edition, but the simple fact you're running on Win 8.1 or Win 10), refer to my post here: C++ How to detect Windows 10

like image 56
BuvinJ Avatar answered Jan 20 '26 22:01

BuvinJ