I'm having trouble defining a custom property in a QML item:
Item {
property MovieTileItem data
Text {
text: "Some text"
}
}
MovieTitleItem is an Item defined in a separate QML file :
import Qt 4.7
Item {
property string title
property string posterSource
}
The error I get is "Cannot assign object to property" pointing to the property declaration. Any ideas?