Hi there,

I am using the QtCreator 2.0 beta along with Qt 4.7 beta.
I want to use the Repeater Element in a Delegatecomponent for a Listview as 
shown in the Documentation for the ListModel. See the example with the the 
fruit attributes:
http://doc.qt.nokia.com/4.7-snapshot/qml-listmodel.html

The problem is that I always get an error concerning the dataSource property of 
the Repeater element when using this code:

//---snip------
Repeater {
        dataSource: attributes
        Component { Text { text: description } }
}
//---snap------

The error is:
file:///tmp/repeater/test.qml:19:21: Cannot assign to non-existent property 
"dataSource"
                         dataSource: attributes
                         ^

Is the dataSource property not available in the beta yet? Am I doing sth wrong 
here?

Regards,
Markus

_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to