1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
import qbs.base 1.0 Project { Product { type: ["application", "installed_content"] name: "HelloWorld" destination: "bin" Depends { name: "Qt.core"} files: [ "main.cpp" ] Group { qbs.installDir: "share" files: ['main.cpp'] fileTags: ["install"] } } }