In general you can handle any web content you want to display with QML --- use XMLHttpRequest like this :
Code:
Item{
function loadModel(model){
var req = new XMLHttpRequest();
req.onreadystatechange = function() {
if (req.readyState === XMLHttpRequest.DONE) {
var root = req.responseXML.documentElement;
//parse your stuff here, and update list model
// NOTE: QML supports limited ffunctionality of XMLHttpRequest
// check Qt documentation
catalogModel.append({"id": id, "icon": icon,
"info": myinfo,
.... etc
});
}
// NOTE: XMLHttpRequest syncronous call is not supported by QML. Thus 'req.onreadystatechange'
// will be called after 'req.send()'
req.open("GET", "http:XXXX.com");
req.send();
}
ListModel{
id: myModel
}
Component.onCompleted: {
loadModel(myModel);
}
//don't forget to make ListView and delegate!!!
}