[Qbs] WARNING: Suspicious use of qbs.TextFile during property evaluation.
christian.kandeler at qt.io
Mon Jan 16 17:04:33 CET 2017
> Today I went to QBS version 1.7.1 (previously 1.6.1)
> When I build the project I began to receive the following message:
> WARNING: Suspicious use of qbs.TextFile during property evaluation.
> How can I remove/hide this warning?
there is no way to switch off this particular warning, so you'd need to
suppress all non-error messages via the "-qq" (or by disabling "show
warnings" in the Qt Creator issues pane).
> In this case, I am quite
> consciously call qbs.TextFile to calculate the value of the property. I
> could use a 'probe', but at the 'project' level it can not be done.
Project-level Probes will be possible in 1.8. Until then, you'll have to
live with the warning, unless you can move the respective property to a
module or product instead.
More information about the Qbs