QML, XML List Model, Basic Auth

  • All,

    I'm looking to build an app that pulls data from a basic-auth protected XML feed using an XML List Model. Simply feeding username:password@URL for "source" property within XMLListModel doesn't work.

    Without going with a "regular" ListModel implementation with Javascript (that does the basic auth + xml parsing) I don't see a simple way to do this. Does anybody have tips or a code sample to share? I'd prefer to keep this in pure QML.

  • I would be happy for just a snippet with the "regular" ListModel with javascript, as it seems there are no examples for that as well. Perhaps we should wrap up a QNAM (if it is not already available from QML) into QML?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.