Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
5.15.10
-
None
-
macos 15.0 for beta
Description
the function QSysInfo::machineUniqueId() returns the same value for mac os 14.x, but this value changes after each update of the mac OS 15.x
this is a code for : QSysInfo::machineUniqueId()
charuuid[UuidStringLen +1];
io_service_t service =IOServiceGetMatchingService(kIOMasterPortDefault, IOServiceMatching("IOPlatformExpertDevice"));
QCFString stringRef = (CFStringRef)IORegistryEntryCreateCFProperty(service, CFSTR(kIOPlatformUUIDKey), kCFAllocatorDefault, 0); CFStringGetCString(stringRef, uuid, sizeof(uuid), kCFStringEncodingMacRoman);
returnQByteArray(uuid);
any ideas?
thank you