blob: 2bff00f358188a29a1ccb6fa35ffdeba9a742335 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import qbs
import MyImport
Product {
type: "outtype"
property var importValue: MyImport
Rule {
multiplex: true
Artifact {
fileTags: "outtype"
filePath: "dummy"
}
prepare: {
var cmd = new JavaScriptCommand;
cmd.silent = true;
cmd.sourceCode = function() {
console.info("key 1 = " + product.importValue.key1);
console.info("key 2 = " + product.importValue.key2);
};
return cmd;
}
}
}
|