Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Not Evaluated
-
Resolution: Invalid
-
Affects Version/s: 1.8.1
-
Fix Version/s: None
-
Component/s: Qt Creator Integration
-
Labels:None
-
Environment:windows 7, qt Creator 4.3.1
Description
I have static library subproject which depends on external dynamic libraries.
I can successfully export external lib files to the main project for linking, but can't find a way to say qtcreator to add dll directory to the PATH during application run.
After reading documentation I expected that next code will work"
Export { Depends { name: "cpp" } Properties { condition: qbs.targetOS.contains("windows") cpp.systemRunPaths: [mylib.sourceDirectory +"/dll"] } } }
But it not works. Same for `cpp.libraryPaths`.
Probably this is not a bug, but just unclear documentation.
Thank you.