<?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.qpa.plugin: Could not find the Qt platform plugin &quot;windows&quot; in &quot;&quot;]]></title><description><![CDATA[<p dir="auto">I am getting the error:</p>
<pre><code>qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
</code></pre>
<p dir="auto">when trying to run my application.  It is failing to find the plugin, and as you'll notice, the empty string says its not really even looking anywhere.  I have tried to resolve this by using:</p>
<pre><code>QCoreApplication::addLibraryPath(pluginLocation.c_str());
</code></pre>
<p dir="auto">to explicitly add the plugin path and as you'll note from the screenshot, when I output the QCoreApplication::libraryPaths, it returns the correct location, however it appears qt is just ignoring that path.<br />
<img src="https://ddgobkiprc33d.cloudfront.net/95a9d5ed-2b17-496c-a1d2-c4cae1c9c225.png" alt="b8de23e1-a97b-438f-8daa-5c63d21548f0-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Ive also tried setting QT_QPA_PLATFORM_PLUGIN_PATH and got the same result.  Seems like its just ignoring all this.</p>
]]></description><link>https://forum.qt.io/topic/150645/qt-qpa-plugin-could-not-find-the-qt-platform-plugin-windows-in</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 05:28:54 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/150645.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 08 Oct 2023 22:01:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to qt.qpa.plugin: Could not find the Qt platform plugin &quot;windows&quot; in &quot;&quot; on Mon, 09 Oct 2023 19:31:25 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Are you doing that from the command line ?<br />
If so, did you run windeployqt before trying to start your application ?</p>
]]></description><link>https://forum.qt.io/post/775427</link><guid isPermaLink="true">https://forum.qt.io/post/775427</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 09 Oct 2023 19:31:25 GMT</pubDate></item></channel></rss>