Results 1 to 10 of 10

Thread: QNetworkReply::readAll() empty or not depending on calling position

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2014
    Posts
    23
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: QNetworkReply::readAll() empty or not depending on calling position

    thanks for your help
    another thing, should I code something special for the slot connected to finish? is there something we must do ?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QNetworkReply::readAll() empty or not depending on calling position

    Quote Originally Posted by AmirH View Post
    another thing, should I code something special for the slot connected to finish? is there something we must do ?
    Well, at some point you should delete the QNetworkReply instance.
    That can be, and often is, done in the slot connected to the finished signal, using deleteLater() on the reply object.

    Cheers,
    _

  3. #3
    Join Date
    Feb 2014
    Posts
    23
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: QNetworkReply::readAll() empty or not depending on calling position

    ok.

    We can close the subject.

    Resolved!

Similar Threads

  1. QHttp readAll() return empty QbyteArray
    By chamoda in forum Qt Programming
    Replies: 1
    Last Post: 17th January 2013, 06:59
  2. QFile readAll() problem..
    By zgulser in forum Newbie
    Replies: 4
    Last Post: 23rd June 2012, 00:11
  3. QTcpSocket, problems with readall()
    By Leo_san in forum Qt Programming
    Replies: 2
    Last Post: 28th September 2011, 23:31
  4. How to obtain a QI,age from QTcpSocket->readAll
    By gorka_sm in forum Qt Programming
    Replies: 1
    Last Post: 27th April 2011, 08:50
  5. remove directory empty or not empty
    By raphaelf in forum Newbie
    Replies: 12
    Last Post: 27th October 2006, 07:30

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
  •  
Qt is a trademark of The Qt Company.