[QBS] New item ProductFolder

Jake Thomas Petroules jake.petroules at petroules.com
Wed Jun 5 14:16:04 CEST 2013


Thanks for bringing this up, I've been meaning to ask about this as well.

There's also the concern of installing files which come from outside the project tree entirely. (QtCore.framework, ...)
-- 
Jake Petroules
Chief Technology Officer
Petroules Corporation • www.petroules.com
Email: jake.petroules at petroules.com

On Jun 5, 2013, at 7:02 AM, Иван Комиссаров <abbapoh at gmail.com> wrote:

> I don't want to interrupt you discussion, but...
> 
> Suppose i have root project (called Project) and 2 sub projects (called SubProject1 and SubProject2), which are both apps. Let's say, that both app depends on a lib (called Lib).
> We can build all 3 binaries to same folder with no problems.
> However, during installation, we get some problems in MacOs and Windows. Lib should be installed to TWO different locations - SubProject1.app/Contents/MacOs and SubProject2.app/Contents/MacOs (on Mac). Same is for Windows.
> 
> Can this problem be solved without duplicating installation code in SubProject1/SubProject2?
> 
> How i see it - i describe installation in Lib.qbs and use project.install_lib_path property. In SubProject1/2 i define that property with different values (on mac/win) and same on unix. And qbs builds Lib once, but installs twice. Is that possible?
> 
> Иван Комиссаров
> 
> 
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20130605/006e6e81/attachment.html>


More information about the Qbs mailing list