Http login for QML WebView



  • 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


Log in to reply
 

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