<?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[Do QML files support UNIX shebangs?]]></title><description><![CDATA[<p dir="auto">In a <code>.QML</code> file, is <a href="https://forum.qt.io/post/820589"><code>#!/usr/lib64/qt6/bin/qml</code></a> syntactically acceptable as the first line, for when I <code>chmod +x</code> the file?</p>
]]></description><link>https://forum.qt.io/topic/161688/do-qml-files-support-unix-shebangs</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 10:30:54 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/161688.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 06 Apr 2025 08:37:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Do QML files support UNIX shebangs? on Sun, 06 Apr 2025 11:33:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rokejulianlockhart">@<bdi>RokeJulianLockhart</bdi></a><br />
Have you read through <a href="https://www.ics.com/blog/whole-shebang-running-qml-files-directly" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.ics.com/blog/whole-shebang-running-qml-files-directly</a> ?</p>
<p dir="auto">Apparently it works?  But I have to say, since QML files use <code>//</code> not <code>#</code> for comment line, I don't see why or how or where it is documented....</p>
]]></description><link>https://forum.qt.io/post/824085</link><guid isPermaLink="true">https://forum.qt.io/post/824085</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Sun, 06 Apr 2025 11:33:55 GMT</pubDate></item></channel></rss>