<?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[Browser : how to download files]]></title><description><![CDATA[<p dir="auto">Hi, i program a browser. i would like to download the files, i use  QNetworkAccessManager QNetorwkReply but i don't know  how to get a link of file, i searched in doc and i haven't found<br />
Exemple :</p>
<pre><code>managet.get(QNetworkRequest(QUrl(http://download.microsoft.com/download/1/7/1/1718ccc4-6315-4d8e-9543-8e28a4e18c4c/dxwebsetup.exe)));
</code></pre>
<p dir="auto">Thank !</p>
]]></description><link>https://forum.qt.io/topic/69131/browser-how-to-download-files</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Jun 2026 08:55:34 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/69131.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 10 Jul 2016 11:47:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Browser : how to download files on Sun, 17 Jul 2016 15:04:39 GMT]]></title><description><![CDATA[<p dir="auto">I'm sorry to reply late, i don't see notification .<br />
It works !! thank you for your help  :)</p>
]]></description><link>https://forum.qt.io/post/338026</link><guid isPermaLink="true">https://forum.qt.io/post/338026</guid><dc:creator><![CDATA[Yacinoben]]></dc:creator><pubDate>Sun, 17 Jul 2016 15:04:39 GMT</pubDate></item><item><title><![CDATA[Reply to Browser : how to download files on Mon, 11 Jul 2016 12:47:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yacinoben">@<bdi>Yacinoben</bdi></a> said:</p>
<blockquote>
<p dir="auto">No, i use Qt WebEngine .</p>
</blockquote>
<p dir="auto">Ok, then take a look at <a href="http://doc.qt.io/qt-5/qwebengineprofile.html#downloadRequested" target="_blank" rel="noopener noreferrer nofollow ugc">QWebEngineProfile::downloadRequested()</a></p>
<p dir="auto">You simply need to set the path (target destination file path) of the incoming QWebEngineDownloadItem object and call accept() on it.<br />
The download/transfer is handled by QtWebEngine internally.</p>
]]></description><link>https://forum.qt.io/post/337106</link><guid isPermaLink="true">https://forum.qt.io/post/337106</guid><dc:creator><![CDATA[raven-worx]]></dc:creator><pubDate>Mon, 11 Jul 2016 12:47:14 GMT</pubDate></item><item><title><![CDATA[Reply to Browser : how to download files on Mon, 11 Jul 2016 11:45:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/raven-worx">@<bdi>raven-worx</bdi></a> said:</p>
<blockquote>
<p dir="auto">content</p>
</blockquote>
<p dir="auto">No, i use Qt WebEngine .</p>
]]></description><link>https://forum.qt.io/post/337105</link><guid isPermaLink="true">https://forum.qt.io/post/337105</guid><dc:creator><![CDATA[Yacinoben]]></dc:creator><pubDate>Mon, 11 Jul 2016 11:45:45 GMT</pubDate></item><item><title><![CDATA[Reply to Browser : how to download files on Mon, 11 Jul 2016 06:29:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yacinoben">@<bdi>Yacinoben</bdi></a><br />
are you using the QtWebKit module?</p>
<p dir="auto">If so do this:</p>
<pre><code>QWebPage* page = webView-&gt;page();
page-&gt;setForwardUnsupportedContent( true );

connect(page, SIGNAL(downloadRequested(QNetworkRequest)), this, SLOT(download(QNetworkRequest)));   // called when the "Save-to-disk" action is triggered
connect(page, SIGNAL(unsupportedContent(QNetworkReply*)), this, SLOT(unsupportedContent(QNetworkReply*)));   // called when data cannot be displayed (e.g. non-html content)
</code></pre>
]]></description><link>https://forum.qt.io/post/337070</link><guid isPermaLink="true">https://forum.qt.io/post/337070</guid><dc:creator><![CDATA[raven-worx]]></dc:creator><pubDate>Mon, 11 Jul 2016 06:29:34 GMT</pubDate></item><item><title><![CDATA[Reply to Browser : how to download files on Sun, 10 Jul 2016 19:53:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yacinoben">@<bdi>Yacinoben</bdi></a><br />
Ok. sounded like you wanted to download file. :)</p>
<p dir="auto">I dont know how your browser can give a link. sorry.</p>
]]></description><link>https://forum.qt.io/post/337034</link><guid isPermaLink="true">https://forum.qt.io/post/337034</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Sun, 10 Jul 2016 19:53:44 GMT</pubDate></item><item><title><![CDATA[Reply to Browser : how to download files on Sun, 10 Jul 2016 13:24:33 GMT]]></title><description><![CDATA[<pre><code>void DownloadManager::downloadFinished(QNetworkReply *reply)
</code></pre>
<p dir="auto">Is call when the download is finished, i need just to get a link, for my browser when i click in a link download nothing is happening</p>
]]></description><link>https://forum.qt.io/post/337006</link><guid isPermaLink="true">https://forum.qt.io/post/337006</guid><dc:creator><![CDATA[Yacinoben]]></dc:creator><pubDate>Sun, 10 Jul 2016 13:24:33 GMT</pubDate></item><item><title><![CDATA[Reply to Browser : how to download files on Sun, 10 Jul 2016 11:51:18 GMT]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">This example show how<br />
<a href="http://doc.qt.io/qt-5/qtnetwork-download-main-cpp.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.qt.io/qt-5/qtnetwork-download-main-cpp.html</a></p>
<p dir="auto">look in<br />
void DownloadManager::downloadFinished(QNetworkReply *reply)</p>
]]></description><link>https://forum.qt.io/post/337002</link><guid isPermaLink="true">https://forum.qt.io/post/337002</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Sun, 10 Jul 2016 11:51:18 GMT</pubDate></item></channel></rss>