Generating GUID
-
-
If you just need to generate GUID's, there is a small tool "guidgen.exe" included with the Windows SDK.
And if you want to do it programmatically via Win32 API, instead of QUuid, you can use the CoCreateGuid().
http://msdn.microsoft.com/de-de/library/windows/desktop/ms688568(v=vs.85).aspx
Still I don't understand what is wrong with QUuid::createUuid() ???
-
I believe he was just thrown off by the way that is written in the documentation.
The first line of the QUuid::createUuid() is:
"On any platform other than Windows, this function returns a new UUID with variant QUuid::DCE and version QUuid::Random."
However, at the end it says that on Windows it will create a GUID, so you should be getting what you want with that.