1 2 3 4 5 6 7 8
import QtQuick 2.0 import QtQuick.XmlListModel 2.0 XmlListModel { id: model XmlRole {} Component.onCompleted: model.roles = 0 }