[Qbs] Using ES6 templates string in qbs files

Maximilian Hrabowski hrabowski at bee360.com
Wed Jun 26 13:57:43 CEST 2024


Hi all,

I thought qbs 2.x switched to latest QJSEngine which support ES7.
While in QML code it is no problem to use template strings `…` , in qbs files I get a syntax error, e.g.:

console.log(`the path is ${path}`);

won’t work.

Are my expectations wrong?

Best regards,
Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20240626/fb7dee79/attachment.htm>


More information about the Qbs mailing list