[Qbs] How to get a product's source directory from the artifact from inputsFromDependencies

Denis Shienkov denis.shienkov at gmail.com
Tue Oct 10 15:00:18 CEST 2017


> Why? In particular, why do you care about the product directory, rather
than the one of the actual file?

Because the qml directory is in appropriate product's source directory.
And I need to specify the --qmldir
<path/to/qml/directory/of/source/product> then.

2017-10-10 15:20 GMT+03:00 Christian Kandeler <Christian.Kandeler at qt.io>:

> Hi Denis,
>
> > I need to create e.g the 'zip' archive of output binaries of my project,
> > where my project contains some of application's products.
> >
> > I have looked on qbs\src\packages\archive\archive.qbs example, where are
> > used the windeployqt utility. It is fine, but I need to use the --qmldir
> > argument for the windeployqt utility (as my products are qml
> > applications). As I can see, we can get only the install-root paths from
> > the inputsFromDependencies: ["installable"] property.. but seems, it is
> > not enough for me, because I need to get by some way the full paths of
> > source directories of products of input artifacts.
>
> Why? In particular, why do you care about the product directory, rather
> than the one of the actual file?
>
>
> Christian
> _______________________________________________
> Qbs mailing list
> Qbs at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20171010/4e2305d6/attachment.html>


More information about the Qbs mailing list