[QBS] Join some locale into one QM with 3th name
alex at obukhoff.su
alex at obukhoff.su
Tue Nov 10 16:11:22 CET 2015
Hi,
I have several projects with a common library with its own file transfer.
During building I combine multiple ts files into one qm. Visual Studio build simple call CMD file having the following content:
<code>
lrelease "..\libs\Project1\src\locale\Project1_en.ts" "..\Project2\common_en.ts" -qm "build\locale\Project3_en.qm"
</code>
How to realize it on the qbs.
I try to use next code, but result not satisfy me.
<code>
Product {
name: "Project3Translations"
type: "qm"
files: [
"..\libs\Project1\src\locale\Project1_en.ts",
"..\Project2\common_en.ts"
]
Group {
fileTagsFilter: product.type
qbs.install: true
qbs.installDir: "locale"
}
}
</code>
Result of this qbs – 2 files Project1_en.qm and common_en.qm
But I need 1 file Project3_en.qm !
Best regards,
Alexey Obukhov
More information about the Qbs
mailing list