You can try to use:

product.sourceDirectory

BR,

Denis



2014-05-15 13:45 GMT+04:00 Tim Hutt <tdh...@gmail.com>:

> Great thanks!
>
>
> On 15 May 2014 10:38, Christian Kandeler <christian.kande...@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@qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/qbs
>>
>
>
> _______________________________________________
> QBS mailing list
> QBS@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs
>
>
_______________________________________________
QBS mailing list
QBS@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to