Re: [QBS] Join some locale into one QM with 3th name

2015-11-12 Thread Stéphane Fabry
You are right each ts is inside it's own product so i suppose it will 
work unchanged :)



Le 12-11-15 09:46, Christian Kandeler a écrit :

On 11/12/2015 09:09 AM, Stéphane Fabry wrote:

The basic usage is one ts mapped to one qm file.
I didn't know it was possible to merge ts files into one qm file.

It should remain an option and the default being as it is now.


But can you not simply make one product per qm file then?


Christian
___
QBS mailing list
QBS@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs



--
New address : starting December 5, 2015: _Rue d'Abhooz 25 - 4040 Herstal 
- Belgium_


*Stéphane Fabry*, Project & IT Manager
+32 (0)4 367 07 92
*X-RIS* | /X-Ray Imaging Solutions/
www.xris.eu/contact.html
___
QBS mailing list
QBS@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs


Re: [QBS] Join some locale into one QM with 3th name

2015-11-12 Thread Christian Kandeler

On 11/12/2015 09:09 AM, Stéphane Fabry wrote:

The basic usage is one ts mapped to one qm file.
I didn't know it was possible to merge ts files into one qm file.

It should remain an option and the default being as it is now.


But can you not simply make one product per qm file then?


Christian
___
QBS mailing list
QBS@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs


Re: [QBS] Join some locale into one QM with 3th name

2015-11-12 Thread Stéphane Fabry

The basic usage is one ts mapped to one qm file.
I didn't know it was possible to merge ts files into one qm file.

It should remain an option and the default being as it is now.

Stéphane


Le 10-11-15 16:27, Christian Kandeler a écrit :

On 11/10/2015 04:11 PM, a...@obukhoff.su wrote:
  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:


lrelease "..\libs\Project1\src\locale\Project1_en.ts" 
"..\Project2\common_en.ts" -qm "build\locale\Project3_en.qm"



How to realize it on the qbs.


Hm, the qm rule does not have the multiplex property set. At first 
glance, it looks like it should. Anything speaking against that?



Christian
___
QBS mailing list
QBS@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs



--
New address : starting December 5, 2015: _Rue d'Abhooz 25 - 4040 Herstal 
- Belgium_


*Stéphane Fabry*, Project & IT Manager
+32 (0)4 367 07 92
*X-RIS* | /X-Ray Imaging Solutions/
www.xris.eu/contact.html
___
QBS mailing list
QBS@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs


Re: [QBS] Join some locale into one QM with 3th name

2015-11-10 Thread Christian Kandeler

On 11/10/2015 04:11 PM, a...@obukhoff.su wrote:

  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:

lrelease "..\libs\Project1\src\locale\Project1_en.ts" "..\Project2\common_en.ts" -qm 
"build\locale\Project3_en.qm"


How to realize it on the qbs.


Hm, the qm rule does not have the multiplex property set. At first 
glance, it looks like it should. Anything speaking against that?



Christian
___
QBS mailing list
QBS@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs


[QBS] Join some locale into one QM with 3th name

2015-11-10 Thread alex
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:

lrelease "..\libs\Project1\src\locale\Project1_en.ts" 
"..\Project2\common_en.ts" -qm "build\locale\Project3_en.qm"


How to realize it on the qbs.

I try to use next code, but result not satisfy me.


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"
   }
}


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
___
QBS mailing list
QBS@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs