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. WebEngineView and Network Proxy

WebEngineView and Network Proxy

Scheduled Pinned Locked Moved QML and Qt Quick
webengineview
3 Posts 3 Posters 2.0k 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.
  • Z Offline
    Z Offline
    zizzu
    wrote on 28 Aug 2015, 18:09 last edited by
    #1

    Hello, can someone explain me how to use a proxy server with WebEngineView in qml?

    I wrote this in main.c:
    QNetworkProxy proxy(QNetworkProxy::HttpProxy,"proxyip",port,"user","pass");
    QNetworkProxy::setApplicationProxy(proxy);

    also i wrote
    QQmlApplicationEngine engine;
    engine.networkAccessManager()->setProxy(proxy);

    i can access internet with XmlListModel but as i try to display a page into WebEngineView, setting the url property, WebEngineView try to use system settings and does not read the proxy settings from application.

    Thank you.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sils
      wrote on 10 Sept 2015, 09:55 last edited by
      #2

      Hi,

      I'm struggling with the same problem, I guess we'll have to wait for Qt 5.6 as "Support for following global Qt proxy settings" is in the release notes for Qt Web Engine there (or use the alpha).

      Lasse

      1 Reply Last reply
      0
      • N Offline
        N Offline
        Neccefer
        wrote on 23 Aug 2016, 16:51 last edited by
        #3

        As I understand the problem with a proxy so no one decided? Thought the new firmware would fix the matter, but my proxy provider says that the problem is not on their side.

        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