Thanks guys for your answers. UUID is good enough for my task.
From: Etienne Sandré-Chardonnal
Sent: Sunday, February 16, 2014 10:59 AM
To: scorp...@yahoo.com
Cc: Interests Qt
Subject: Re: [Interest] Generating unique string
If you don't like the uuid format, you could hash the uu
sed to be unique, I'd use
> those.
>
> Sent from Yahoo Mail on
> Android<https://overview.mail.yahoo.com/mobile/?.src=Android>
>
> --
> * From: * Etienne Sandré-Chardonnal ;
> * To: * Jonathan Greig ;
> * Cc: * Interests Qt ;
> * Su
I'd suggest the uuid over the hash, unless you use a randomized hash content.
Time is not good enough. Uuids are supposed to be unique, I'd use those.
Sent from Yahoo Mail on Android
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-
Have a look also to this : http://qt-project.org/doc/qt-4.8/quuid.html
Etienne
2014-02-15 7:58 GMT+01:00 Jonathan Greig :
> Igor,
> You might want to look at QCryptographicHash and then truncate or
> concatenate to N chars. Either that or QDateTime using the epoch. Your
> solution depends on ho
Igor,
You might want to look at QCryptographicHash and then truncate or
concatenate to N chars. Either that or QDateTime using the epoch. Your
solution depends on how you are defining unique. Either way should be
fairly simple.
On Sat, Feb 15, 2014 at 1:49 AM, wrote:
> Hi.
>
> Does Qt have so
Hi.
Does Qt have something for generating unique string of N chars?
Or maybe does somebody know simple way to do it?
Thanks.___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest