[QBS] absolute path name in modules

Kurt Keller kk at parity-software.com
Thu Oct 16 18:50:13 CEST 2014


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





More information about the Qbs mailing list