Results 1 to 4 of 4

Thread: Does QTWebkit initialize proxy setting from the system variable if provided?

  1. #1
    Join Date
    Mar 2010
    Posts
    9
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Does QTWebkit initialize proxy setting from the system variable if provided?

    Hello All,

    I have a browser which is working with proxy settings (::setHostName(), ::setPort()) and QNetworkAccessManager setProxy() done in the browser implementation code.
    I want to use the http_proxy environment variable for setting the proxy instead of performing the setting in the browser implementation code. If hostName or port number needs to change then it will need code recompiling where as "export http_proxy=" can be done from command line.
    Does QTWebkit initialize from the system variable if provided?

  2. #2
    Join Date
    May 2010
    Location
    slovakia
    Posts
    47
    Thanks
    10
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Maemo/MeeGo

    Default Re: Does QTWebkit initialize proxy setting from the system variable if provided?

    if you want to read system wide setting, first get it from OS, then set it thru setProxy()..

  3. #3
    Join Date
    Mar 2010
    Posts
    9
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Does QTWebkit initialize proxy setting from the system variable if provided?

    How do i get the parameters from OS, specifically hostname and port number?

  4. #4
    Join Date
    Mar 2010
    Posts
    9
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Does QTWebkit initialize proxy setting from the system variable if provided?


Similar Threads

  1. Setting the system time make the Qt program blocked.
    By alps_xing in forum Qt Programming
    Replies: 0
    Last Post: 10th June 2010, 08:12
  2. Setting a global variable
    By Windsoarer in forum Qt Programming
    Replies: 3
    Last Post: 16th February 2010, 22:37
  3. Proxy setting for http
    By Tavit in forum Qt Programming
    Replies: 1
    Last Post: 9th October 2009, 09:36
  4. Replies: 2
    Last Post: 25th April 2009, 08:50
  5. System environment variable
    By fahlen in forum Qt Programming
    Replies: 4
    Last Post: 27th November 2007, 19:02

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.