[QBS] concatenating propierties / outer.concat

Christian Stoitner Christian.Stoitner at gmx.net
Tue May 28 20:28:58 CEST 2013


How do you concatenate properties in the current version of qbs?

In older versions (conditionaly) concatenating properties was done using a 
properties block and outer.concat (see http://qt-project.org/wiki/Qbs-Quick-
Reference).
So, whats the current way to conditionaly add defines or cxxFlags?


Also, while trying to find a way around that problem I found a crash instead - 
not sure if this is already reported. Defining a property twice results in a 
segmentation fault in revision b0d22a99756c250d384cd911bd7612d516cfd6fb.

test.qbs:
import qbs.base 1.0
Application {
        name: "test"
        Depends { name: "cpp" }

        cpp.defines: [ "test" ]
        cpp.defines: [ "test" ]
}




More information about the Qbs mailing list