Results 1 to 3 of 3

Thread: Error with "void QHttp::responseHeaderReceived ( const QHttpResponseHeader & resp )"

  1. #1
    Join Date
    May 2012
    Posts
    33
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Error with "void QHttp::responseHeaderReceived ( const QHttpResponseHeader & resp )"

    hi friends. im working with http and im trying to show the recived header file in a text box... so im using

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Error with "void QHttp::responseHeaderReceived ( const QHttpResponseHeader & resp

    Uh oh! Abducted by aliens mid-sentence... never bodes well

    You should not be using QHttp in new code.
    This class is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
    You should use QNetworkRequest, QNetworkAccessManager and QNetworkReply. In QNetworkReply you'll find various ways to access the headers in the response (which I think is what you wanted) or the HTTP response code (see QNetworkReply::attribute())
    Last edited by ChrisW67; 7th June 2012 at 06:29.

  3. #3
    Join Date
    May 2012
    Posts
    33
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Error with "void QHttp::responseHeaderReceived ( const QHttpResponseHeader & resp

    dear ChrisW67


    there is a problem here plz see this link and read the full post...

    http://www.qtcentre.org/threads/4930...mp-resp-)-quot



    http://www.qtcentre.org/threads/4930...mp-resp-)-quot

Similar Threads

  1. Replies: 32
    Last Post: 25th August 2012, 23:10
  2. Replies: 9
    Last Post: 20th May 2010, 09:55
  3. "Treat wchar_t as Built-in Type" to "yes" link error
    By sungaoyong in forum Qt Programming
    Replies: 1
    Last Post: 5th June 2008, 11:45
  4. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 19:05
  5. QFile Problem~ "Unknow error" in "open(QIODevice::ReadWrite)"
    By fengtian.we in forum Qt Programming
    Replies: 3
    Last Post: 23rd May 2007, 15:58

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.