Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML, XML List Model, Basic Auth
Forum Updated to NodeBB v4.3 + New Features

QML, XML List Model, Basic Auth

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 3.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    qmlguy
    wrote on 12 May 2011, 21:16 last edited by
    #1

    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.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sivang
      wrote on 18 Oct 2011, 14:06 last edited by
      #2

      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?

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved