[Qbs] Installing the same artifact to different locations
Christian Kandeler
christian.kandeler at qt.io
Thu Oct 16 15:46:40 CEST 2025
On 10/16/25 1:36 PM, Orgad Shaneh wrote:
> I have a product with a custom Rule. I want to install the file in 2
> different directories. How should it be done?
You can't do that. There is exactly one instance of every module per
artifact, and thus one value of qbs.installDir. You probably need to
create dummy rule making a copy of your file, and attach the other value
there.
Christian
More information about the Qbs
mailing list