I am having trouble defining a custom property in a QML element:
Item {
property MovieTileItem data
Text {
text: "Some text"
}
}
MovieTitleItem is an element defined in a separate QML file:
import Qt 4.7
Item {
property string title
property string posterSource
}
The error I get is "Unable to assign property" by specifying a property declaration. Any ideas?
source
share