[Development] QML and UUID
Renaud
renaud.guezennec at gmail.com
Tue Aug 19 01:36:54 CEST 2014
Hi all,
I am running into issue when I try to use QQuickImageProvider and
QUUID.toString().
I store my images into map<QString,QPixmap>. The key is the uuid
(stored as QString) from instances of my custom class.
So, stored keys in the map are like this:
{22715e73-e6ca-4cca-a77d-fe68746b9f79}, but when my QML component asks
to the provider, the provider receives this kind of key:
"%7B22715e73-e6ca-4cca-a77d-fe68746b9f79%7D".
It can not find any match. Is There a way to prevent the modification
in QML world ?
Of course, I can implement some workarounds, such as remove curly
braces or use other kind of key. But it will be really painful.
Thanks!
More information about the Development
mailing list