[QBS] absolute path name in modules

Thomas Epting thomas.epting.stryker at gmail.com
Thu Oct 16 19:02:25 CEST 2014


Try using "path".

Thomas

Am Donnerstag, 16. Oktober 2014 schrieb Kurt Keller :

> Hello,
>
> There is a product, which depends on a module:
>
> Product {
>   name: ...
>   type: ...
>   Depends { name: 'mymodule' }
>   ...
> }
>
> Module {
>   name 'mymodule'
>
>   readonly property string thisPath: {
>     return .....????
>   }
> }
>
> Is there a way to get somehow the absolute path of the current QBS file or
> at least the absolute path of the current Directory? I tried
> product.sourceDirectory,
> product.buildDirectory and many other things without any positive result.
>
> regards
> Kurt
>
>
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org <javascript:;>
> http://lists.qt-project.org/mailman/listinfo/qbs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20141016/f823166c/attachment.html>


More information about the Qbs mailing list