<?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[Generating PY from QRC Everytime a Resource file changes]]></title><description><![CDATA[<p dir="auto">I have to manually run the command ("pyside2-rcc -o <a href="http://output.py" target="_blank" rel="noopener noreferrer nofollow ugc">output.py</a> input.qrc") to generate a new PY module from my QRC file every time a resource file changes that depends on my QRC.  This is becoming super tedious. I am using QT Creator, is there some tool in QTCreator or something else that can watch for changes and run the pyside2-rcc command for me?</p>
]]></description><link>https://forum.qt.io/topic/121246/generating-py-from-qrc-everytime-a-resource-file-changes</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Nov 2026 00:46:56 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/121246.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 27 Nov 2020 17:28:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Generating PY from QRC Everytime a Resource file changes on Thu, 24 Apr 2025 18:26:13 GMT]]></title><description><![CDATA[<p dir="auto">I made a batch script that I run every time I detect that the .qrc (or .ui) files have changed. It's all automated before launching the application.</p>
]]></description><link>https://forum.qt.io/post/825145</link><guid isPermaLink="true">https://forum.qt.io/post/825145</guid><dc:creator><![CDATA[pmc1]]></dc:creator><pubDate>Thu, 24 Apr 2025 18:26:13 GMT</pubDate></item><item><title><![CDATA[Reply to Generating PY from QRC Everytime a Resource file changes on Fri, 27 Nov 2020 18:09:50 GMT]]></title><description><![CDATA[<p dir="auto">No, this did not help me. I don't see any steps for how to automate the pyside2-rcc command when a file listed in the QRC changes.</p>
]]></description><link>https://forum.qt.io/post/629535</link><guid isPermaLink="true">https://forum.qt.io/post/629535</guid><dc:creator><![CDATA[respect88]]></dc:creator><pubDate>Fri, 27 Nov 2020 18:09:50 GMT</pubDate></item><item><title><![CDATA[Reply to Generating PY from QRC Everytime a Resource file changes on Fri, 27 Nov 2020 17:51:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/respect88">@<bdi>respect88</bdi></a><br />
I am guessing you have not set up in <strong>Creator</strong>/build environment correctly.  I see an old post at <a href="https://stackoverflow.com/questions/22508491/a-py-file-which-compiled-from-qrc-file-using-pyside-rcc-does-not-work" target="_blank" rel="noopener noreferrer nofollow ugc">https://stackoverflow.com/questions/22508491/a-py-file-which-compiled-from-qrc-file-using-pyside-rcc-does-not-work</a> for old PySide1, but does it give steps to check work for you?</p>
]]></description><link>https://forum.qt.io/post/629534</link><guid isPermaLink="true">https://forum.qt.io/post/629534</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Fri, 27 Nov 2020 17:51:44 GMT</pubDate></item></channel></rss>