Import xml from API
-
Hi,
You'll have to be more specific, importing xml using QNetworkAccessManager isn't really clear. Do you want to make calls to a REST server through QML ?
-
-
Look in the documentation for QML XMLHttpRequest
-
Hi,
bq. Another problem is that in order to enter the API must enter your login and password
If using QNetworkAccessManager to download, you can connect signal "authenticationRequired":http://qt-project.org/doc/qt-5/qnetworkaccessmanager.html#authenticationRequired to a slot and do the authentication there.