<?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[Running a python file from a qml button]]></title><description><![CDATA[<p dir="auto">I am new in dealing with Qt and i would like to run a python file by clicking a qml button so anybody know how can i do it?<br />
Thanks in advance</p>
]]></description><link>https://forum.qt.io/topic/94526/running-a-python-file-from-a-qml-button</link><generator>RSS for Node</generator><lastBuildDate>Wed, 12 Aug 2026 02:21:00 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/94526.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 12 Sep 2018 09:18:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Running a python file from a qml button on Wed, 12 Sep 2018 23:30:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/momoo">@<bdi>Momoo</bdi></a><br />
Do you want to run a python script with an embedded interpreter in your process?  Or just run a python script as an external process?</p>
]]></description><link>https://forum.qt.io/post/481093</link><guid isPermaLink="true">https://forum.qt.io/post/481093</guid><dc:creator><![CDATA[wrosecrans]]></dc:creator><pubDate>Wed, 12 Sep 2018 23:30:54 GMT</pubDate></item><item><title><![CDATA[Reply to Running a python file from a qml button on Wed, 12 Sep 2018 09:29:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/momoo">@<bdi>Momoo</bdi></a><br />
In some shape or form, you will need to make your button's click action execute code which calls <a href="http://doc.qt.io/qt-5/qprocess.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.qt.io/qt-5/qprocess.html</a> functions, e.g. <code>QProcess::execute()</code>.</p>
]]></description><link>https://forum.qt.io/post/480976</link><guid isPermaLink="true">https://forum.qt.io/post/480976</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Wed, 12 Sep 2018 09:29:33 GMT</pubDate></item></channel></rss>