Nominate our 2022 Qt Champions!

webassembly XmlListModel not working

  • Hello,
    I have test program, I work fine in normal desktop.
    When I complile it with webassembly, XmlListModel not load data.
    In console I see :
    qml: XML Status change 2 error:

    So XmlListModel not go to state 1 (Ready state), I dont know why.
    In web browser I see query "" and good response (xml).

    What is wrong?
    Thank you

        XmlListModel {
            id: xmlModel
           source: ""
            query: "/cross/cros"
            XmlRole { name: "time";        query: "@time/string()" }
            onStatusChanged: {
                console.log("XML Status change "+status+" error:"+errorString())
        ListView {
            anchors.fill: parent
            model: xmlModel
            delegate: Text {
                text: time

Log in to reply