import qbs.FileInfo import qbs.Host Project { property string name: 'includeLookup' qbsSearchPaths: '.' Product { condition: { var result = qbs.targetPlatform === Host.platform(); if (!result) console.info("targetPlatform differs from hostPlatform"); return result; } type: 'application' consoleApplication: true name: project.name files: 'main.cpp' Depends { name: 'cpp' } Depends { name: 'definition' } } }