[QBS] Duplicate product name
olivier musse
olivier.musse at sfr.fr
Sun May 18 19:00:04 CEST 2014
Hi,
I have an issue while trying to create a project made of multiple
subprojects.
I have a project made of multiple application where each application use
a common static library. I want each application to be able to compile
as a standalone application but want also a global project to compile
all the applications in one step
------ static.qbs ----
Product{
type:"staticlibrary"
name:"mystaticlib
....}
---- app1.qbs ----
Project{
references:["static.qbs"]
Product{
name:"app1"
Depends{name:"mystaticlib"}
}
}
---- app2.qbs ----
Project{
references:["static.qbs"]
Product{
name:"app2"
Depends{name:"mystaticlib"}
}
}
---- global.qbs
Project{
SubProject{
filePath:"app1.qbs"
}
SubProject{
filePath:"app2.qbs"
}
}
Each project app1.qbs and app2.qbs compile well separately but global.qbs rise up an error: "duplicate product name mystaticlib"
I found this bug QBS-478 on internet but I think my case is different.
Does I have done something wrong?
Thanks in advance for help.
Olivier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20140518/a561473e/attachment.html>
More information about the Qbs
mailing list