[QBS] qbs code style?

Loaden loaden at gmail.com
Sun Jun 17 06:17:26 CEST 2012


Hi, qbs list!
I am now study Creator's qbs files, and fine some different style.
I want to know this is the best style?
e.g.

> condition: qbs.targetOS == "linux" || qbs.targetOS == "macx"
>
or:

> condition: qbs.targetOS == 'linux' || qbs.targetOS == 'macx'

or:

> condition: qbs.targetOS === "linux" || qbs.targetOS === "macx"
>

And:

> Depends { name: "Qt"; submodules: ["widgets", "network"] }
>
or:

> Depends { name: "Qt"; submodules: ['widgets', 'network'] }
>

Who is the best one?
Any docs about this?
Thanks!

-- 
Please don't ask where I come from, It's a shame!
Best Regards
Yuchen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20120617/ca5717c4/attachment.html>


More information about the Qbs mailing list