Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

QML Nested Repeater

$
0
0
just tried it in my program, when I try to run with more than 1 item as the delegate of a repeater I get an error “Cannot assign multiple values to a singular property” and “The program has unexpectedly finished.” anyway did you change your model or is it working like that now? I always use the object notation for objects, like the JSON notation also that better to read I think. also tested it to be clear: [foo:"bar"] that is a syntax error, even qt creator can’t parse that, so how is your code even running.. very weird with your model :p so you have to use {foo:"bar"} for objects (dictionaries)

Viewing all articles
Browse latest Browse all 4972

Trending Articles