On Thu, 11 Oct 2018 15:35:30 +0200
Christian Gudrian <[email protected]> wrote:

> I am currently trying to wrap a 3rd party libray in a Qbs module 
> following the example at 
> https://doc.qt.io/qbs/howtos.html#how-do-i-create-a-module-for-a-third-party-library.
> 
> I would like to use relative paths to the include and lib directories 
> rather than absolute ones to make distribution easier. Is there a way to 
> get the path the Qbs module file resides in?

Yes, in every qbs file the file-scope variables "filePath" and "path" are 
available to get the path to the current file and its parent directory, 
respectively.


Christian
_______________________________________________
Qbs mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to