<html>
<head>
</head>
<body class='hmmessage'><div dir='ltr'>

<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hello,</div><div dir="ltr"><br></div><div dir="ltr">If copying of a directory is now deprecated:</div><div dir="ltr"><br></div><div dir="ltr"><i>WARNING: Recursively copying directory <br>This behavior is deprecated and will change in qbs 1.5. Install the individual file artifacts instead.</i></div><div dir="ltr"><br></div><div dir="ltr">What would be an easy way to install lost of stuff? Why is this behavior deprecated? It used to be easy: copy everything and live happily ever after? Now I'll need to handle lots and lots of file extensions and sub-directories and make the Qbs project inflate in size just because of these. Or is there a better way?</div><div dir="ltr"><br></div><div dir="ltr">Than this:<br><br><pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#646482;">    </span><span style=" color:#ff8bff;">Group</span><span style=" color:#646482;"> </span>{</pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#646482;">        </span><span style=" color:#cd8b00;">//</span><span style=" color:#646482;"> </span><span style=" color:#cd8b00;">Assets</span><span style=" color:#646482;"> </span><span style=" color:#cd8b00;">to</span><span style=" color:#646482;"> </span><span style=" color:#cd8b00;">install</span></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#646482;">        </span><span style=" color:#ff5555;">name</span>:<span style=" color:#646482;"> </span><span style=" color:#ffcd8b; background-color:#404040;">"Assets"</span></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#646482;">        </span><span style=" color:#ff5555;">files</span>:<span style=" color:#646482;"> </span>[</pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#646482;">            </span><span style=" color:#ffcd8b; background-color:#404040;">"assets/icons/*.png"</span>,</pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#646482;">            </span><span style=" color:#ffcd8b; background-color:#404040;">"assets/icons/*.jpg"</span></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#646482;">        </span>]</pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#646482;">        </span><span style=" color:#ff5555;">qbs.install</span>:<span style=" color:#646482;"> </span>true</pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#646482;">        </span><span style=" color:#ff5555;">qbs.installDir</span>:<span style=" color:#646482;"> </span><span style=" font-style:italic;">destinationDirectoryPath</span><span style=" color:#646482;"> </span>+<span style=" color:#646482;"> </span><span style=" color:#ffcd8b; background-color:#404040;">"/assets/icons"</span></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#646482;">    </span>}

Regards</pre></div>
                                          </div></body>
</html>