[QBS] Why condition doesn't work?

joerg.bornemann at nokia.com joerg.bornemann at nokia.com
Fri Jun 22 07:47:03 CEST 2012

> 1. Why the red condition doesn't work?

There's no if/else statement in qbs like in C. 

> 2. How to debug qbs script? e.g. print some debug information?

Use the print function for that. For example

someProperty: {
    print("x is " + x)
    return x



More information about the Qbs mailing list