[QBS] Group's property can not be accessed by qbs

Christian Kandeler christian.kandeler at digia.com
Mon Oct 14 11:23:44 CEST 2013


On 10/14/2013 11:05 AM, 罗勇刚(Yonggang Luo)  wrote:
> Sorry for the incorrect description, I means the following code can
> not be evalulated:
>
> Group {
>      namespace: "goodDir"

That cannot work, as there is no property "namespace". Did you mean to 
write this?

property string namespace: "goodDir"

>
>      name: "source of " + namespace
>
>      prefix: namespace + "/"
>
>      qbs.install: project.installApiHeaders
>
>      qbs.installDir: headerInstallPrefix + namespace //There is error here!
> }
>
> How to do things like this or just a bug in qbs?
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs
>




More information about the Qbs mailing list