1 2 3 4 5 6 7 8 9
import qbs.base 1.0 Project { Foo { cpp.defines: base.concat(["FROM_PRJ"]); files: "main.cpp" } }