1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
CppApplication { files: "main.cpp" Properties { condition: toolchainProbe.found cpp.driverLinkerFlags: ["-nostartfiles"] } Probe { id: toolchainProbe condition: qbs.toolchain.includes("gcc") configure: { console.info("toolchain is GCC-like"); found = true; } } }