<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Feb 17, 2014 at 2:24 PM, itviewer <span dir="ltr"><<a href="mailto:itviewer@jolladev.net" target="_blank">itviewer@jolladev.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><u></u>
<div style="margin:10px">
<div>Hi all,</div>
<blockquote style="margin-right:0px" dir="ltr">
<div style="margin-right:0px" dir="ltr">In my application I don't want the qml
file to be deployed.</div>
<div style="margin-right:0px" dir="ltr">I know I should use the Qt resource
system.</div></blockquote>
<div style="margin-right:0px;text-indent:2em" dir="ltr">After added all qml
files to the .qrc file and rebuild the application,</div>
<blockquote style="margin-right:0px" dir="ltr">
<div style="margin-right:0px" dir="ltr">It seems that <span style="font-weight:bold">all qml files are still build in to the rpm
file</span>.</div>
<div style="margin-right:0px" dir="ltr"> </div>
<div style="margin-right:0px" dir="ltr">Is it a sdk's bug?</div>
<div style="margin-right:0px" dir="ltr">How can I deploy rpm application
without qml file?</div></blockquote></div></blockquote></div></div><div class="gmail_extra">Hi,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Not a bug but an (annoying) feature. :) You probably have "CONFIG += sailfishapp" in your .pro. That will automatically add the qml subfolder to install rules (<a href="https://github.com/sailfish-sdk/libsailfishapp/blob/master/data/sailfishapp.prf#L40">https://github.com/sailfish-sdk/libsailfishapp/blob/master/data/sailfishapp.prf#L40</a>). A trivial solution is to rename the qml folder to something else.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra"><div>--<br>J-P Nurmi</div><div><br></div></div></div>