[QBS] is there a way to get a path to sub-project's target file?

Denis Shienkov denis.shienkov at gmail.com
Thu May 8 12:20:42 CEST 2014


Hi all.

I have such project:

Project {
   ...
    references: [
        "product1/product1.qbs",
        "product2/product2.qbs",
    ]
   ...
}

In Product2 there is a dependence on Product1 and some rule in which it is
necessary to receive a full path to the target file from Product1:

product2.qbs:

WindowsInstallerPackage {
    ...
    Depends { name: "product1" }
    ...
    ...
    Rule {
        ...
        prepare: {
            ...
            // Here I need to get a full path to the Poduct1's target file
(e.g. to EXE or DLL file). How I can do it?
            ...
        }
    }
}

It is possible?

BR,
Denis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20140508/58971832/attachment.html>


More information about the Qbs mailing list