Try this with qbs 3.1.1:
Project {
name: "Test"
Product {
name: "Test Files"
qbs.install: true
qbs.installPrefix: ""
qbs.installDir: "testfiles"
}
}
Regards,
Jochen
Spoiler Alert: it installs test.qbs into folder testfiles.