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 <[email protected]>:

> 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, <[email protected]> wrote:
>
>>   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
>> [email protected]
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>>
>
> _______________________________________________
> Interest mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to