<?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[Qt WebEngine not working after using windeployqt (Qt 6.7.2 MSVC2019)]]></title><description><![CDATA[<p dir="auto">Hi, I'm trying to deploy my Qt application, which uses QWebEngineView and QWebChannel. It runs perfectly in Qt Creator (debug and release mode), but after using windeployqt, the WebEngine components do not load properly. The application launches, but the HTML content is not displayed.</p>
<p dir="auto">I have already searched this forum for similar issues, but I couldn't find a solution that works for me. So, I’m posting this question again in hopes of finding some guidance.</p>
<p dir="auto">I am using Qt 6.7.2 with MSVC2019 64-bit.<br />
Here’s what I did:</p>
<ol>
<li>Running windeployqt<br />
I ran the following command:</li>
</ol>
<pre><code>windeployqt --release --webengine program.exe
</code></pre>
<p dir="auto">However, I got this error:</p>
<pre><code>unknown option: --webengine
</code></pre>
<p dir="auto">So I tried running it without the --webengine flag:</p>
<pre><code>windeployqt --release program.exe
</code></pre>
<p dir="auto">It completed without errors, but QWebEngineView still does not work.</p>
<ol start="2">
<li>Deployment Folder Structure<br />
All required files have been copied to the deployment folder, including:</li>
</ol>
<p dir="auto">Essential DLLs:<br />
Qt6Core.dll<br />
Qt6Gui.dll<br />
Qt6Widgets.dll<br />
Qt6WebEngineCore.dll<br />
Qt6WebEngineWidgets.dll<br />
Qt6WebChannel.dll<br />
Qt6WebEngine.dll<br />
Qt6Qml.dll<br />
Qt6Quick.dll<br />
Qt6Network.dll<br />
d3dcompiler_47.dll<br />
WebEngine Resources:<br />
qtwebengine_locales/ (entire folder)<br />
resources/ (entire folder)<br />
webengine_resources.pak<br />
webengine_resources_100p.pak<br />
webengine_resources_200p.pak<br />
qtwebengine_devtools_resources.pak<br />
icudtl.dat<br />
Executable Files:<br />
QtWebEngineProcess.exe (inside resources/)<br />
3. qt.conf Configuration<br />
I created a qt.conf file in the same folder as program.exe with the following content:</p>
<pre><code>[Paths]
Prefix=.
Plugins=plugins
Libraries=.
Imports=imports
Qml2Imports=qml
Translations=translations

</code></pre>
<p dir="auto">But WebEngine still does not work.</p>
<ol start="4">
<li>Missing Folder?<br />
I noticed that C:\Qt\6.7.2\msvc2019_64\plugins\qtwebengine\ does not exist on my system. Could this be the issue? If so, how can I fix it?</li>
</ol>
<p dir="auto">Has anyone encountered this issue with Qt 6.7.2 WebEngine?<br />
Any help would be greatly appreciated! Thanks in advance.</p>
]]></description><link>https://forum.qt.io/topic/161143/qt-webengine-not-working-after-using-windeployqt-qt-6-7-2-msvc2019</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 22:57:00 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/161143.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 Feb 2025 08:53:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt WebEngine not working after using windeployqt (Qt 6.7.2 MSVC2019) on Thu, 14 Aug 2025 06:57:33 GMT]]></title><description><![CDATA[<p dir="auto">QtWebEngine is compiled with Qt6.  Try using windeployqt6.exe instead.  Works for me.</p>
]]></description><link>https://forum.qt.io/post/830438</link><guid isPermaLink="true">https://forum.qt.io/post/830438</guid><dc:creator><![CDATA[Thaxila]]></dc:creator><pubDate>Thu, 14 Aug 2025 06:57:33 GMT</pubDate></item><item><title><![CDATA[Reply to Qt WebEngine not working after using windeployqt (Qt 6.7.2 MSVC2019) on Tue, 25 Feb 2025 09:20:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a><br />
Per the link, which is a screen shot of the <code>--help</code>, it just lists all the possible extra libraries at the end and it states</p>
<blockquote>
<p dir="auto"><code>Qt libraries can be added by passing their name (-xml)</code></p>
</blockquote>
<p dir="auto">which is why I thought maybe it should be a single hyphen?</p>
]]></description><link>https://forum.qt.io/post/821358</link><guid isPermaLink="true">https://forum.qt.io/post/821358</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Tue, 25 Feb 2025 09:20:19 GMT</pubDate></item><item><title><![CDATA[Reply to Qt WebEngine not working after using windeployqt (Qt 6.7.2 MSVC2019) on Tue, 25 Feb 2025 09:18:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mynameisqt">@<bdi>MyNameIsQt</bdi></a> To add to <a class="plugin-mentions-user plugin-mentions-a" href="/user/jonb">@<bdi>JonB</bdi></a> : you can get a list of all parameters by calling: windeployqt --help</p>
]]></description><link>https://forum.qt.io/post/821356</link><guid isPermaLink="true">https://forum.qt.io/post/821356</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Tue, 25 Feb 2025 09:18:31 GMT</pubDate></item><item><title><![CDATA[Reply to Qt WebEngine not working after using windeployqt (Qt 6.7.2 MSVC2019) on Tue, 25 Feb 2025 09:08:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mynameisqt">@<bdi>MyNameIsQt</bdi></a> said in <a href="/post/821343">Qt WebEngine not working after using windeployqt (Qt 6.7.2 MSVC2019)</a>:</p>
<blockquote>
<p dir="auto">unknown option: --webengine</p>
</blockquote>
<p dir="auto">I know nothing about this, but <a href="https://doc.qt.io/qt-6/windows-deployment.html#the-windows-deployment-tool" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-6/windows-deployment.html#the-windows-deployment-tool</a> actually claims this should be <code>-webengine</code>?  As well as perhaps <code>-webenginewidgets</code> and <code>-webchannel</code>?</p>
]]></description><link>https://forum.qt.io/post/821352</link><guid isPermaLink="true">https://forum.qt.io/post/821352</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Tue, 25 Feb 2025 09:08:17 GMT</pubDate></item></channel></rss>