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. Setup proxy of QWebEnginePage
QtWS25 Last Chance

Setup proxy of QWebEnginePage

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

    I want to access the web page by free proxy I search by google, but the connection always fail

        QStringList const proxy_host{"https://www.kproxy.com/", "https://hide.me/en/proxy",
                                     "https://whoer.net/webproxy"};
        QNetworkProxy proxy;
        proxy.setType(QNetworkProxy::HttpProxy);
        proxy.setHostName(proxy_host[0]);
        proxy.setPort(8080);
        QNetworkProxy::setApplicationProxy(proxy);
    

    All of the proxy do not work as expected, I cannot connect to https://www.bing.com/images/search?q=smoke.

    Error messages:
    "There is something wrong with the proxy server, or the address is incorrect"

    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