[QBS] New item ProductFolder

Иван Комиссаров abbapoh at gmail.com
Wed Jun 5 16:29:11 CEST 2013

Yes, you're right that this problem can appear in small projects, however it can be avoided there. In huge modular project such approach would lead to huge code duplication.

In any case, even for small projects there's another problem under Mac - library installNamePrefix and rpaths - they should differ for 2 copies of libraries, which means that 2 libraries should be linked separately. Unless qbs would change rpaths during installation, not build (which is not possible on linux?)

Иван Комиссаров

05.06.2013, в 17:27, Joerg Bornemann <joerg.bornemann at digia.com> написал(а):

On 05/06/2013 14:16, Jake Thomas Petroules wrote:

> Isn't this question independent from the subproject problem and doesn't it already arise for simple one-level projects with two products that depend on that same library?
> I don't think that the lib should have the knowledge where it's going to be installed dependent on where it is used. IMO the install rules must belong to the product that's going to be installed.
> BR,
> Joerg

More information about the Qbs mailing list