Re: [Development] QML and UUID

2014-08-19 Thread Thiago Macieira
On Tuesday 19 August 2014 10:34:25 Alan Alpert wrote: > > That's a URL transformation. > > > > How did the string come from QML world? Did you pass it to a function that > > expects a URL? > > Yes, QtQuick image providers look like this in the QML file: Image { > source: "image://myimageprovider/

Re: [Development] QML and UUID

2014-08-19 Thread Alan Alpert
On Mon, Aug 18, 2014 at 4:59 PM, Thiago Macieira wrote: > On Tuesday 19 August 2014 01:36:54 Renaud wrote: >> Hi all, >> >> I am running into issue when I try to use QQuickImageProvider and >> QUUID.toString(). >> >> I store my images into map. The key is the uuid >> (stored as QString) from insta

Re: [Development] QML and UUID

2014-08-18 Thread Thiago Macieira
On Tuesday 19 August 2014 01:36:54 Renaud wrote: > Hi all, > > I am running into issue when I try to use QQuickImageProvider and > QUUID.toString(). > > I store my images into map. The key is the uuid > (stored as QString) from instances of my custom class. > > So, stored keys in the map are lik

[Development] QML and UUID

2014-08-18 Thread Renaud
Hi all, I am running into issue when I try to use QQuickImageProvider and QUUID.toString(). I store my images into map. 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 com