<div dir="ltr">Christian,<div><br></div><div>were could we read the details of the discussion?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 7, 2015 at 1:24 PM, Christian Kandeler <span dir="ltr"><<a href="mailto:christian.kandeler@theqtcompany.com" target="_blank">christian.kandeler@theqtcompany.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 01/07/2015 11:04 AM, Stéphane Fabry wrote:<br>
> I'd like to install some files and directories that form a directory tree.<br>
><br>
> Example:<br>
><br>
> Group {<br>
><br>
>          name:  "IMAGERs"<br>
>          prefix:  "IMAGERs/**/"<br>
>          files:  "*"<br>
>          qbs.install:  true<br>
>          qbs.installDir:  project.calibInstall  +  "/IMAGERs"<br>
> }<br>
> The imager directory has two subdirectories that contains files, after<br>
> the install all files are mixed in IMAGER's and subdirectories are not<br>
> created.<br>
<br>
</span>Yes, this is a known problem that comes up regularly.<br>
<span class=""><br>
> The only solution I have now is to make a group for each leaf subdirectory.<br>
<br>
</span>That is one possible workaround. The other one is to simply set the<br>
"files" property to the root of the directory tree you want to install.<br>
In your case:<br>
<br>
Group {<br>
     name:  "IMAGERs"<br>
     files:  "IMAGERs"<br>
     qbs.install:  true<br>
     qbs.installDir:  project.calibInstall<br>
}<br>
<br>
This has the drawback that now qbs does not know the files in this<br>
directory, so they won't show up in your project tree in Qt Creator. And<br>
of course, if they are not purely run-time resources, but actual<br>
sources, this approach won't work.<br>
<span class=""><br>
> Do you have a solution ?<br>
<br>
</span>We have discussed some promising ideas and I'm confident we will have<br>
something ready for 1.4.<br>
<br>
<br>
Christian<br>
_______________________________________________<br>
QBS mailing list<br>
<a href="mailto:QBS@qt-project.org">QBS@qt-project.org</a><br>
<a href="http://lists.qt-project.org/mailman/listinfo/qbs" target="_blank">http://lists.qt-project.org/mailman/listinfo/qbs</a><br>
</blockquote></div><br></div>