Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
UnsupportedContent signal is emitted in qt webview
Hi, i have tried to download with qt webview and there was emitted a signal unsupportedContent(QNetworkReply) and after the QWebview's loadFinished(bool) signal is emitted with false value. The code looks like so
myWebView->load(request, QNetworkAccessManager::PostOperation, data);
I used Qt 5.2 and my os is mac 10.8.
[edit: Added @ coding tags SGaist]
This isn't really a problem per se, so what would your question be ?
Actually i would like to know how avoid getting this unsupportedContent signal during the download also loadFinished with false value or why this signal is emitted?
AFAIK you can't but you can handle the case yourself, it's explained "here":http://qt-project.org/doc/qt-5/qwebpage.html#unsupportedContent
And how to do with loadFinished(bool) signal which emits false value is it possible to download with webiew without loading the page in the webview?
If you only want to download something without even showing it, why not use QNetworkAccessManager directly ?