Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
1.15.0
-
None
Description
Suppose there is QBS file that contains a Product (not Project):
// Library.qbs
StaticLibrary
{
property string override_this: “something”
}
And in another QBS file it is referenced via SubProject:
// SomeProject.qbs Project { SubProject { filePath: “Library.qbs” Properties { override_this: “something else” } } }
This will not work.
Given that it is called “SubProject” it is probably not meant for that, I suppose. On the other hand it successfully references files that do not contain Project items, just Product ones, so I assumed that would work.
Nevertheless, could you extend this property overriding functionality for Products too? There are workarounds for that, of course, but they are not as elegant as using the SubProject item.