Results 1 to 2 of 2

Thread: QNetworkAccessManager proxy sttings

  1. #1
    Join Date
    Feb 2008
    Posts
    60
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QNetworkAccessManager proxy sttings

    Dear all,

    I have used QNetworkAccessManager to send get(URL) request to receive response from the specified URL.

    It works correctly when my system is directly connected with internet.

    If I connect my system to the network in which Proxy Server configuration is made, my code needs proxy details.

    Is there a way to match the settings of the default browser? Do I have to let the user configure himself the proxy?

    Regards,
    Jay.

  2. #2
    Join Date
    Feb 2008
    Posts
    60
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QNetworkAccessManager proxy sttings

    Proxy detection is achieved using QNetworkProxyFactory::systemProxyForQuery, woks fine in Windows. On Mac, Instead of proxyList I am getting the below statement in console.
    Mac system proxy: found PAC script at <PAC file>

    can any one please help me how to get proxy list on Mac.

    I am using Qt version 4.5.2.

    Thank you.

Similar Threads

  1. QNetworkAccessManager proxy issue
    By dholliday in forum Qt Programming
    Replies: 12
    Last Post: 13th November 2017, 05:29
  2. QNetworkAccessManager within QThread
    By Tomdarkness in forum Newbie
    Replies: 17
    Last Post: 26th August 2014, 15:12
  3. QNetworkAccessManager question
    By _Stefan in forum Qt Programming
    Replies: 1
    Last Post: 5th March 2010, 12:21
  4. Replies: 0
    Last Post: 21st December 2009, 05:04
  5. Problems with QNetworkAccessManager
    By pfid in forum Qt Programming
    Replies: 1
    Last Post: 18th November 2009, 19:51

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.