[Interest] QML id as string?

Jason H jhihn at gmx.com
Wed Oct 3 17:52:13 CEST 2018


I keep running into the fact that I want to be able to use QML item ids as strings. However no such child exists. I realize we can use the objectName property, but them I'm maintaining an objectName, which is no worse or better than me maintaining it myself. It would be a big help f I could set up a binding:
objectName: id
or 
objectName: ""+id

Instead I have to maintain a name to object mapping as a property, which shouldn't be needed.



More information about the Interest mailing list