[Qbs] Code Generator with shared library dependencies
Christian Kandeler
christian.kandeler at qt.io
Mon Jan 15 10:48:39 CET 2024
On 1/12/24 11:10, Leon Buckel wrote:
> So my question would be: Is there a way to run an executable that is a Product similar to how ‘qbs run’ does it so all dependencies are found?
There isn't, but there should be.
> In the past I’ve solved this problem by deploying the tool and dlls first and running it from the install root.
> That still works but doesn’t seem right. Especially since I don’t believe there is a way to tell whether the artifacts are already installed before running the Command.
If the tool is installable, then it's safe to assume is already has been
installed when running it, as installation happens in lockstep with
artifact creation. The user would have to actively sabotage you by
disabling installation.
Christian
More information about the Qbs
mailing list