In documentation on page (source) BinaryPackage is mentioned, but when I used this example qbs showed error message:
error: Unexpected item type 'BinaryPackage'.
I suspect that it is wrong item name in documentation: it is must be InstallPackage instead BinaryPackage