PDA

View Full Version : Http connection in Qt



sabbu
24th May 2011, 07:31
i want to make http connection and apply get method and also find the response from server.please help any one because i am beginner for Qt

squidge
24th May 2011, 07:37
Have a look at QNetworkAccessManager

kosasker
27th May 2011, 11:42
Hi. I have a problem about using QNetworkAccessManager.
In a class i used QNetworkAccessManager object for get some data from web page. In another class I construct another QNetworkAccessManager object and application is crashing in runtime. Must delete first one before construct second one ? I confused about it!
Best regards.

Added after 1 1:

Any Suggestion ?

ChrisW67
27th May 2011, 11:49
Hi. I have a problem about using QNetworkAccessManager.
In a class i used QNetworkAccessManager object for get some data from web page. In another class I construct another QNetworkAccessManager object and application is crashing in runtime. Must delete first one before construct second one ? I confused about it!
Best regards.
No. You can have as many as you want. The crash is coming from elsewhere in your code.


Added after 1 1:

Any Suggestion ?

Wait a little longer than an hour before bumping a thread.

kosasker
27th May 2011, 11:54
Hi chris. Sorry about bumping.

No. You can have as many as you want. The crash is coming from elsewhere in your code.


Hmmm... It' s very very strange situation... Ok. I will keep trying. Sorry for bad English.