[QBS] Cannot install files to the same location

Jake Petroules Jake.Petroules at qt.io
Thu Jul 14 16:15:17 CEST 2016

You probably want to set qbs.installSourceBase to the directory containing the Generic and Customer directories. This lets you install a directory structure rather than doing a "flat" copy of your files list into the destination directory.

On Jul 14, 2016, at 6:35 AM, Sebastian Stadelmann <s.stadelmann at aucos.de<mailto:s.stadelmann at aucos.de>> wrote:


I’m trying to install two files with the same name from two different source locations to the same destination.
QBS shows the error message „Cannot install files „./path1/file1.ini“ and „./path2/file1.ini" to the same location.
Ok. On the first view, doing so does not make too much sense.
But my projects relies on the following directory structure:


So file1.ini is changed to customers needs by coping it into the Customer directory. I was expecting that file1.ini from
the Customers directory will overwrite file1.ini from the Generic tree what gives me the opportunity to make customization
without changing the generic part.

Is there a possibility to do with QBS?

Thank you in advance

QBS mailing list
QBS at qt-project.org<mailto:QBS at qt-project.org>

Jake Petroules - jake.petroules at qt.io<mailto:jake.petroules at qt.io>
Consulting Services Engineer - The Qt Company
Qbs build tool evangelist - qbs.io<http://qbs.io>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20160714/577873ae/attachment.html>

More information about the Qbs mailing list