<?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[Hiding .qml files for deployment]]></title><description><![CDATA[<p dir="auto">I have a project that I want to deploy. I've ran the windeplyqt.exe and my .exe works. However, windeplyqt also added .qml files that are part of QT in the build directory(like in the screenshot). My .exe doesnt't work if I remove these .qml files but I don't want them to be exposed out in the executable's directory. So, is there a way to embed these into the .exe or another way to hide them?</p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/79ab2941-3905-4507-8207-7a764489a6af.png" alt="Ekran görüntüsü 2022-05-25 091242.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.qt.io/topic/136778/hiding-qml-files-for-deployment</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Nov 2026 10:31:04 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/136778.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 May 2022 07:22:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hiding .qml files for deployment on Fri, 27 May 2022 10:08:16 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/akilic">@<bdi>akilic</bdi></a>,</p>
<p dir="auto">You need to add your .qml files to the Resource Collection Files (.qrc) so this files are built into the binary.<br />
You can find more details in this example: <a href="https://doc.qt.io/archives/qt-5.9/qtquickcontrols2-chattutorial-example.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/archives/qt-5.9/qtquickcontrols2-chattutorial-example.html</a></p>
<p dir="auto">Regards</p>
]]></description><link>https://forum.qt.io/post/715534</link><guid isPermaLink="true">https://forum.qt.io/post/715534</guid><dc:creator><![CDATA[ndias]]></dc:creator><pubDate>Fri, 27 May 2022 10:08:16 GMT</pubDate></item></channel></rss>