[Qt-interest] How to send a query parameter to QHTTP?

Lingfa Yang lingfa at brandeis.edu
Tue May 19 16:22:46 CEST 2009


Your are right. This new class,QNetworkAccessManager, takes a QUrl 
directly, I like it. In contrast, QHttp does nothing with QUrl.

Thanks,
Lingfa

Thiago Macieira wrote:
> Lingfa Yang wrote:
>   
>> A quick question: When I have a url with a query parameter following a
>> '?' character, how to send out the query?
>>     
>
> Answer: don't use QHttp. Use QNetworkAccessManager, which takes a QUrl and 
> will send the query for you.
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>   




More information about the Qt-interest-old mailing list