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 WebView not using username and password parts of https_proxy?
Forum Updated to NodeBB v4.3 + New Features

QML WebView not using username and password parts of https_proxy?

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 1.3k 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.
  • C Offline
    C Offline
    ChTh
    wrote on last edited by
    #1

    I'm on Linux and trying to get a WebView in QML to show an HTTPS-webpage via a proxy.

    I have set "export https_proxy='https://USERNAME:PASSWORD@192.168.0.100:808'"

    wget works fine with this setting, I can see it connect in the proxy server logs.

    This small example does not though, when run with qmlscene:

    import QtQuick 2.2
    import QtQuick.Window 2.1
    import QtWebKit 3.0

    Window {
    visible: true
    width: 360
    height: 360

    WebView {
        id: webview
        anchors.fill: parent
        url: "https://accounts.google.com"
        //url: "http://www.yahoo.com"
    }
    

    }

    All other cases seem to work, e.g. username and password for HTTP-proxy, accessing HTTPS without proxy, etc.

    Does anyone know of anything inherent in QtWebKit that makes username and password in https_proxy fail?

    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