[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:

Hi,

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:

./Generic/Config/file1.ini
./Generic/Config/file2.ini
./Customer/Config/file1.ini

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
Sebastian





_______________________________________________
QBS mailing list
QBS at qt-project.org<mailto:QBS at qt-project.org>
http://lists.qt-project.org/mailman/listinfo/qbs

--
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