FileTagger { pattern: "*.ts" fileTags: ["ts"] } Rule { inputs: ["ts"] Artifact { fileName: ".obj/" + product.name + "/" + input.baseDir + "/" + input.baseName + ".qm" fileTags: ["qm"] } prepare: { var cmd = new Command(product.module.binPath + '/lrelease', ['-compress', '-silent', input.fileName, '-qm', output.fileName]); cmd.description = 'lrelease ' + FileInfo.fileName(input.fileName); cmd.highlight = 'codegen'; return cmd; } }