<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[QWebview Downloading Issue]]></title><description><![CDATA[<p dir="auto">I loaded a url using QWebview. I need to download a file by clicking another link from web page which is loaded QWebView. I have a following code</p>
<p dir="auto">widget.cpp:<br />
ui-&gt;webView-&gt;load(QUrl("http://my_url"));<br />
ui-&gt;webView-&gt;page()-&gt;setForwardUnsupportedContent(true);<br />
connect(ui-&gt;webView&gt; page() , SIGNAL(downloadRequested(QNetworkRequest)) ,<br />
this, SLOT(download(QNetworkRequest)));<br />
connect(ui-&gt;webView-&gt;page(), SIGNAL(unsupportedContent(QNetworkReply*)),<br />
this,SLOT(unsupportedContent(QNetworkReply*)));</p>
<p dir="auto">But downloadRequested() only called for right click. But when directly link click, it does not emit any signal. Is there any other signal when click on downloading link in Qwebview?</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://forum.qt.io/topic/78675/qwebview-downloading-issue</link><generator>RSS for Node</generator><lastBuildDate>Thu, 09 Apr 2026 23:46:12 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/78675.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 27 Apr 2017 10:51:52 GMT</pubDate><ttl>60</ttl></channel></rss>