[Qbs] Property accessibility from Probe in 1.11
christian.kandeler at qt.io
Thu Feb 8 10:55:43 CET 2018
On Wed, 7 Feb 2018 18:09:31 +0100
<resurrection at centrum.cz> wrote:
> Alright I see. Currently I am using it to access "global" functions defined as properties in top-level Project. Would moving them to external Module and importing that work in Probe? Or do I need to specify re-declare those I use in each Probe?
Modules are not available in configure scripts. But you could put the functions into a js file and import it in the file that contains the Probe. This is how we generally suggest to provide functions.
More information about the Qbs