Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Http login for QML WebView
Qt 6.11 is out! See what's new in the release blog

Http login for QML WebView

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 948 Views
  • 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.
  • killoK Offline
    killoK Offline
    killo
    wrote on last edited by
    #1

    I want to display a page protected by login/password inside a QML WebView on android.

    I don't have the pop-up (like on firefox or chrome) to ask for login and password, and directly have the error : "401 - Unauthorized".
    I can't use WebEngine or WebKit because I'm working on android.

    Is there a way to set the login and password for WebView?

    The following solution doesn't working anymore with chromium:

    WebView {
        url: "http://user:password@site.fr"
    }
    

    Regards,
    Léo

    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