I can not work with QtWebKit, it is necessary with QtWebEngine (Qt 5.7).

I'm trying to work through QNetworkAccessManager with downloadRequested(const QNetworkRequest &request) and downloadingIssueFinished() .

The program curses when executing the following line:

 QNetworkAccessManager *networkManager = ui->preview->page()->networkAccessManager(); 

It refers to the fact that it does not work with QtWebEngine, they say, there is no such function there, but I did not find a similar one. How then do save the picture?

  • QtWebEngine does not interact with QNetworkAccessManager . But what picture are you talking about? Located on the html page, or maybe trying to download it just for a direct link? - alexis031182
  • While working with the browser (we imagined suppose a page), if you click the right mouse, you are offered to save the image (Save File), I wanted to save it with its file and then use it further - DzeX

0