Quote Originally Posted by talk2amulya View Post
probably you arent able to read the images properly from net..are you relying on the finished signal from QNetworkAccessManager?
Yes, I am relying on the finished signal from QNetworkAccessManager.
Basically, I have the following code:

Qt Code:
  1. QByteArray data = reply->readAll();
  2. reply->close();
  3.  
  4. // construct QImage from data
  5. QImage img;
  6. bool loaded = img.loadFromData(data);
To copy to clipboard, switch view to plain text mode 

My problem is that "img.loadFromData(data)" returns true in any case, even if the mentioned error messages get printed onto the console. I would be interested in finding a way to catch those error messages such that I would be able to discard the corresponding images.