Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
i was following this answer on stackoverflow
download image
When i run the code i get an empty document with URL as it's name
If you have better link or suggestion on how to download image from URL please share it
Hi,
You should also connect the error signals and see what you get.
Have you manually double-checked if the link is correct? Print it out using qDebug() or something similar. Also, as SGaist said, the error-messages will probably give you a good hint of what's going on.
qDebug()
QNetworkRequest req(url); reply=qnam.get(req); QObject::connect(reply,SIGNAL(finished()),this,SLOT(slotFinished()));