How to ativate/deactivate XmlListModel via JavaScript
QML and Qt Quick
3
Posts
2
Posters
1.7k
Views
1
Watching
-
Hi,
I am sorry for a late reply.Example:
@
xml.source = "adress";
console.log(xml.source); //correct
xml.reload();
x = 0;
while (xml.progress != 1) {
console.log (xml.progress + "\n" + xml.status + "\n" + "---------------------------"); //the progress is always 0 and the status is 2
x++;
if (x > 25) {
break;
}
}
@There are not any XmlRole keys in XmlListModel.