<?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[pyside6-designer can&#x27;t load PySidePlugin.dll (custom widgets)]]></title><description><![CDATA[<p dir="auto">When running in a virtual environment pyside6-designer fails to load custom widgets.</p>
<p dir="auto">Custom widgets only load when the 'base' Python folder is in the path.</p>
<p dir="auto">Note that this 'base' Python folder can be found with sys._base_executable.</p>
<p dir="auto">Please make pyside6-designer such that it can load custom widgets without the need for the 'base' Python folder being in the PATH.</p>
<p dir="auto">Reproduce with;</p>
<p dir="auto">Running Python 3 (tested 3.9 - 3.11 64 bit) on Windows (tested 11).</p>
<p dir="auto">Create a virtual environment.</p>
<p dir="auto">pip install PySide6.</p>
<p dir="auto">Run pyside6-designer.</p>
<p dir="auto">TicTacToe widget is not available. Help-&gt;About Plugins shows error loading PySidePlugin.dll.</p>
<p dir="auto">Sysinternals DebugView shows no messages.</p>
<p dir="auto">Add the folder holding the base Python executable (C:\Program Files\Python3XX) to the path.</p>
<p dir="auto">Run pyside6-designer.</p>
<p dir="auto">Now the TicTacToe widget is available</p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/3815f822-bf95-416c-b09b-eb75125600f8.png" alt="2a2e8554-f695-4121-b983-504cba55b507-image.png" class=" img-fluid img-markdown" /><br />
<img src="https://ddgobkiprc33d.cloudfront.net/f57fc167-9f53-4e9a-862a-1392f9ab326c.png" alt="d2b6452e-1692-428e-a318-b9f4343fc9a7-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.qt.io/topic/140388/pyside6-designer-can-t-load-pysideplugin-dll-custom-widgets</link><generator>RSS for Node</generator><lastBuildDate>Wed, 23 Sep 2026 10:03:50 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/140388.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 28 Oct 2022 14:56:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to pyside6-designer can&#x27;t load PySidePlugin.dll (custom widgets) on Wed, 02 Nov 2022 10:25:38 GMT]]></title><description><![CDATA[<p dir="auto">The tool wrapper can arguably add it <a href="https://codereview.qt-project.org/c/pyside/pyside-setup/+/441196/" target="_blank" rel="noopener noreferrer nofollow ugc">Prospective fix</a> ..</p>
]]></description><link>https://forum.qt.io/post/734821</link><guid isPermaLink="true">https://forum.qt.io/post/734821</guid><dc:creator><![CDATA[friedemannkleint]]></dc:creator><pubDate>Wed, 02 Nov 2022 10:25:38 GMT</pubDate></item><item><title><![CDATA[Reply to pyside6-designer can&#x27;t load PySidePlugin.dll (custom widgets) on Sun, 30 Oct 2022 15:35:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/friedemannkleint">@<bdi>friedemannkleint</bdi></a> Note that other libs also need stuff from the 'base' Python folder but do not need the 'base' Python folder being in the PATH.<br />
Note that sys._base_executable can be used to find this folder. pyside6-designer could add this folder itself.</p>
]]></description><link>https://forum.qt.io/post/734541</link><guid isPermaLink="true">https://forum.qt.io/post/734541</guid><dc:creator><![CDATA[Okko Willeboordse]]></dc:creator><pubDate>Sun, 30 Oct 2022 15:35:28 GMT</pubDate></item><item><title><![CDATA[Reply to pyside6-designer can&#x27;t load PySidePlugin.dll (custom widgets) on Sat, 29 Oct 2022 20:18:03 GMT]]></title><description><![CDATA[<p dir="auto">I don't think this can be fixed. Qt Designer needs to be able to load the complete DLL including its dependencies (python.dll). This happens in the library loader in C++; there is no Python involved.</p>
]]></description><link>https://forum.qt.io/post/734501</link><guid isPermaLink="true">https://forum.qt.io/post/734501</guid><dc:creator><![CDATA[friedemannkleint]]></dc:creator><pubDate>Sat, 29 Oct 2022 20:18:03 GMT</pubDate></item><item><title><![CDATA[Reply to pyside6-designer can&#x27;t load PySidePlugin.dll (custom widgets) on Fri, 28 Oct 2022 17:09:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/okko-willeboordse">@<bdi>Okko-Willeboordse</bdi></a> said in <a href="/post/734408">pyside6-designer can't load PySidePlugin.dll (custom widgets)</a>:</p>
<blockquote>
<p dir="auto">Please make pyside6-designer such that it can load custom widgets without the need for the 'base' Python folder being in the PATH.</p>
</blockquote>
<p dir="auto">If you want this you need to ask developers or raise as Qt bug.</p>
]]></description><link>https://forum.qt.io/post/734417</link><guid isPermaLink="true">https://forum.qt.io/post/734417</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Fri, 28 Oct 2022 17:09:35 GMT</pubDate></item></channel></rss>