Make sure the method you want to call from QML is prefixed with Q_INVOKABLE ... Timer { onTriggered: { // add request to array requests.push(xhttp); } } }.
確定! 回上一頁