[QBS] Project directory variable.

Tim Hutt tdhutt at gmail.com
Thu May 15 11:45:05 CEST 2014


Great thanks!


On 15 May 2014 10:38, Christian Kandeler <christian.kandeler at digia.com>wrote:

> On 05/15/2014 10:46 AM, Tim Hutt wrote:
> > Is there a way to get the directory that the QBS file is in, i.e. like
> > buildDirectory, but for the source?
>
> There is the "path" property that gives you the directory the current
> file is in. In qbs 1.3, the Project item will also have a
> "sourceDirectory" property indicating where the top-level project is
> located.
>
>
> 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/20140515/6f5c7cae/attachment.html>


More information about the Qbs mailing list