[Qbs] Passing data from current project to module-provider

Maximilian Hrabowski hrabowski at bee360.com
Thu Jun 27 19:08:48 CEST 2024


Hi all,

Is there a way to pass data from the current project to a module-provider (<project-root>/module-providers/myProvider/provider.qbs)?

When the relativeSearchPaths is evaluated inside the module-provider, it seems that nearly  no properties are available. It would be enough to know the build-directory or pass in a path.
A work-around vould be to use outputBaseDir+”/../../..” but I’m not sure whether this is safe or there is a better way. Passing information determined at the beginning of a build (e.g. with a Probe) to the module-provider does not seem to be extra-ordinary to me.

Best regards,
Maxim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20240627/3d065b4f/attachment.htm>


More information about the Qbs mailing list