[Qbs] Evaluation of Conditional Depends

Christian Kandeler christian.kandeler at qt.io
Wed Jun 10 10:09:02 CEST 2020


On Tue, 9 Jun 2020 20:55:43 +0200
Christian Gudrian <qbs at gudrian.org> wrote:

> Could it be that only a restricted set of variables is available during evaluation of the module’s „condition“ property? Neither „product“ nor any imported modules’ variables can be accessed („Can’t find variable“ error).
> 
> Is that a known limitation or am I doing something wrong?

Remember that the module has not been loaded yet, so the right-hand side of the condition property is rather restricted in terms of what you can access there. Basically, it's just the qbs module.


Christian


More information about the Qbs mailing list