> On Jul 20, 2015, at 1:09 AM, Christian Kandeler > <[email protected]> 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? > You can work around this problem by using a JavaScriptCommand and > employing qbs.Process there to call the nm tool. > > > Christian > _______________________________________________ > QBS mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/qbs
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 _______________________________________________ QBS mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qbs
