[Qbs] Access "bundle.content" tag files
Christian Kandeler
christian.kandeler at qt.io
Thu Jun 15 11:46:44 CEST 2017
On Thu, 15 Jun 2017 11:04:31 +0200
Dorian Jicquel <dorian.jicquel at mana-sys.fr> wrote:
> Before the update i used inputs.bundle[index] ( with "bundle" tag input
> ) to access every file from the tag but now i can't use
> inputs.bundle.content[index] ( "bundle.content" tag ? ) since i think
> the dot is used to access other objects in this case.
If the tag name is not a valid JavaScript identifier, you have to use the alternative syntax: inputs["bundle.content"][index].
Christian
More information about the Qbs
mailing list