<Unknown File>: QML VisualDataModel: Error creating delegate

  • Some problem with listview navigation. Qt 5.0.0

    id: translationsList;
    width: item.width;
    height: 260;
    model: translationInfoModel;
    orientation: ListView.Horizontal;
    snapMode: ListView.SnapToItem;
    //highlightRangeMode: ListView.StrictlyEnforceRange;
    spacing: 30;
    clip: true;
    fontSize: optionTabContent.fontSize;
    fontFamily: optionTabContent.fontFamily;
    width: translationsList.width;
    height: translationsList.height;
    highlightFollowsCurrentItem: true;

    id: nextMA;
    onClicked: {
    anchors.fill: parent;

    in some case translationsList.incrementCurrentIndex() raise error - <Unknown File>: QML VisualDataModel: Error creating delegate
    But when choose any listview item simply(by mouse) there is no errors.
    Increment index manually also raise same error.
    Is this a bug?

  • I'm getting the same error, but it is quite random here. I couldn't determine when exactly it is raised. Did you find any solution?

  • I got the same error too, when using a ListView inside a ListView, Any updates?

Log in to reply