Home > Mobile >  Qt open thread using HTTP reported no connection to the server
Qt open thread using HTTP reported no connection to the server

Time:09-26

I want to use HTTP reported data, but sometimes reported failure, so want to open a thread implementation to report, the results don't get returned,

The connect (& amp; HTTP, SIGNAL (readyRead (const QHttpResponseHeader & amp;) ), this SLOT (httpDone (const QHttpResponseHeader & amp;) ));//check whether the connection is successful

I report the data in the run method, but not into httpDone () the return function, what should I do?
  •  Tags:  
  • Qt
  • Related