How to get MachineUniqueId() in QT
Unsolved
General and Desktop
-
Hi Guys.... im trying to get system information using QSysInfo im getting all the inforamation except machineUniqueId() please help me to solve this......
@Bharth
Hi
https://forum.qt.io/topic/91882/qsysinfo-machineuniqueid-empty-on-windowsMight not be supported on the platform you are on.
-
There WMI(Windows Management Interface) in Windows. I feel this is the only way to machine unique id.
-
Hi
Just as a note:
Win 10 , Qt 5.11.1 visual studio compiler 2017
QByteArray b=QSysInfo::machineUniqueId();
qDebug() << b;
give me
6ed084c0-6519-4b12-ae70-6434ac1263..
so does in fact return something here.So what platform and Qt version are you trying this with?