[QBS] Project directory variable.

Christian Kandeler christian.kandeler at digia.com
Thu May 15 11:38:33 CEST 2014


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




More information about the Qbs mailing list