Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-34646

Qml webview 3.0 network proxy broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.1.0 , 5.1.1
    • Quick: Other, WebKit
    • None
    • Qt 5.1.1 embedded Linux on iMx6.

      We ported our app to QtQuick 2 and now the webview in our application no longer works behind a proxy. Please add proper proxy support.

      In QtQuick1.1 the qml webview used the proxy set by Qapplication::setApplicationProxy, or the one from the networkaccessfactory.

      Since Qtquick 2.0 this no longer works. The only way is to set the http_proxy environment variabele.
      But even that is inflexible. Using qputenv from the app and then launching the webview, it looks like that variable is not shared when creating the QtWebProcess.
      The only way is to add the http proxy environment variable to the systems variables and restart the complete Embedded Linux platform.

      The choice to make WebKit a separate process has broken the proxy.
      Please make a mechanism to pass the webview network proxy settings, maybe by adding a property of a networkaccessfactory or something.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt_webengine_team Qt WebEngine Team
            japiekrekel Michel van Wonderen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes