[QBS] console.log in Javascript within QBS?

William Gallafent william at gallaf.net
Thu Sep 6 18:17:12 CEST 2012

Hi all,

Is it possible to write to the console in the usual way from
Javascript running within QBS? When I add a line like


… within a Javascript function which itself is defined within a
Product, I see an error output from Qbs:

/Users/williamg/Projects/qbstest/qbstest.qbp:12 Error: Undefined
property 'console'

Is this expected, or am I doing something wrong? I can give more
detail of course if it's necessary to help diagnose!

Bill Gallafent.

More information about the Qbs mailing list