QML, XML List Model, Basic Auth
-
wrote on 12 May 2011, 21:16 last edited by
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.
-
wrote on 18 Oct 2011, 14:06 last edited by
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?