[QBS] dictionary in qbs

Theo de Vries t.j.a.devries at gmail.com
Wed Jan 7 15:53:53 CET 2015


Hello,

I'd like to declare an object in my qbs file that is a collection of
key-value pairs, i.e., a dictionary.
The documentation here: http://doc.qt.io/qbs/cpp-module.html states that
this can be done for the infoPlist property of the cpp module as well.

I have tried several formats, e.g.:

property var tst: { "key": 4, }

and so on, but all I get is syntax errors. How do I declare a dictionary
properly?

Thanks, Theo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20150107/2c7e148e/attachment.html>


More information about the Qbs mailing list