[QBS] How to redirect Command output into file

Christian Kandeler christian.kandeler at theqtcompany.com
Mon Jul 20 10:09:07 CEST 2015


On 07/20/2015 04:00 AM, Andrii Anpilogov wrote:
> Yup. I tried to use TextFile and got next error:
> :-1: warning: Error when calling output filter function: ReferenceError:
> Can't find variable: TextFile

Hm, that's a bug then, Apparently, the our extensions are not available 
in the filter function. Could you please file a report?
You can work around this problem by using a JavaScriptCommand and 
employing qbs.Process there to call the nm tool.


Christian



More information about the Qbs mailing list