February 26, 2012

umen242 umen242
Lab Rat
198 posts

How to setup local proxy server to test Qt QNetworkAccessManager proxy settings?

 

Hello all
i like to add proxy support to my app that includes using QWebKit And Simple http request . using methods i found here [doc.qt.nokia.com] and here [developer.qt.nokia.com] .
the implementation looks easy , but my problem is how can i test it to see that proxy does work .
do i need to set up proxy server in my local pc ( i guess .. ) if so what server and configuration should i use ?

5 replies

February 26, 2012

Volker Volker
Ant Farmer
5331 posts

Did you have a look at QNetworkProxy already?

February 27, 2012

peppe peppe
Ant Farmer
1005 posts
umen242 wrote:
do i need to set up proxy server in my local pc ( i guess .. ) if so what server and configuration should i use ?

Yes, you obviously need a testing proxy server. Ask your sysadmin to install one for you if you feel you might mess it up.

 Signature 

Software Engineer
KDAB (UK) Ltd., a KDAB Group company

February 27, 2012

Volker Volker
Ant Farmer
5331 posts

Installing squid, for example, in a virtual machine is a good option too. It’s not too hard to setup for testing purposes.

February 27, 2012

umen242 umen242
Lab Rat
198 posts

can i install squid in my local pc ?

February 28, 2012

Volker Volker
Ant Farmer
5331 posts
umen242 wrote:
can i install squid in my local pc ?

Yes.

 
  ‹‹ QT list question      QRegExp - Question on defining a regular expression ››

You must log in to post a reply. Not a member yet? Register here!