Hello,
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.
Should this call be in a Probe instead?
at getVersions(filePath =
'/home/hkarel/CProjects/27FacesRetail/VERSION') in
/home/hkarel/CProjects/27FacesRetail/qbs/imports/QbsUtl/qbsutl.js
at <anonymous>() in
/home/hkarel/CProjects/27FacesRetail/27fbase.qbs:9
at <eval>() in /home/hkarel/CProjects/27FacesRetail/27fbase.qbs:39
...
How can I remove/hide this warning? 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.
--
BR, Pavel Karelin
_______________________________________________
Qbs mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs