Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
1.4.0
-
None
-
e2a596864c4ceb2c8e0c3925202270f4e0d9b30a, d69b32061f2cc97892ba1a2f7d851e21f0787a8d
Description
After upgrading to QtCreator 3.4.1 my qbs project failed to link - undefined references.
Before i can successfully build it.
Simple example of structure
Application { name: "app" Depends { name: "cpp" } Depends { id: qtcore; name: "Qt.core" } //.... files: [/*...*/] Depends {name: "lib1"} Depends {name: "lib2"} }
and then lib1 depends on lib3. And lib3 has such construction:
Export { Depends { name: "cpp" } Properties { condition: qbs.targetOS.contains("windows") cpp.staticLibraries: base.concat(["gdi32", "setupapi", "mscms"]); } }
I expect that this 3 libraries will be linked during app linking, but now this is not true.
Any workaround will be appreciated.
Attachments
For Gerrit Dashboard: QBS-823 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
121382,4 | Fix collection of lib dependencies in static libraries. | 1.4 | qbs/qbs | Status: MERGED | +2 | 0 |