1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
import qbs Project { Product { Depends { name: "cpp" } Depends { name: "bundle" } type: ["application"] name: "myapp" Depends { name: "foo.bar.bla" } files: ["app.cpp"] bundle.isBundle: false } StaticLibrary { Depends { name: "cpp" } name: "foo.bar.bla" files: ["lib.cpp"] } }