[QBS] what about path magic variable?

Christian Kandeler christian.kandeler at theqtcompany.com
Thu Jan 8 10:23:11 CET 2015


On 01/08/2015 09:22 AM, Smirnov Vladimir wrote:
> I have found such an example of Export Item:
> (https://codereview.qt-project.org/#/c/103016/2/examples/app-and-lib/lib/lib.qbs)
>
> Export {
>        Depends { name: "cpp" }
>        cpp.includePaths: [path]
> }
>
> What is a "path" magic? it does not appear in Product item or Export
> item docs.

"path" is the directory that the current project file is located in.

> In Language introduction nothing too.
> Where could I find info about it?

It's not documented because it is a terrible name that needs to change. 
See https://bugreports.qt.io/browse/QBS-246.


Christian



More information about the Qbs mailing list