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

Thiago Macieira thiago.macieira at trolltech.com
Tue May 19 00:27:50 CEST 2009


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.

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Software
      Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090519/2c381322/attachment.bin 


More information about the Qt-interest-old mailing list