[QBS] How to redirect Command output into file
jake.petroules at petroules.com
Mon Jul 20 10:54:42 CEST 2015
> On Jul 20, 2015, at 1:09 AM, Christian Kandeler <christian.kandeler at theqtcompany.com> wrote:
> 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?
> employing qbs.Process there to call the nm tool.
> QBS mailing list
> QBS at qt-project.org
Yes, virtually nothing is available in the filter functions' scopes, except the properties of the command itself (exposed as local variables in the filter functions' scopes).
Jake Petroules - jake.petroules at petroules.com
More information about the Qbs