author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 06 Jul 2010 15:10:48 +0300 | |
changeset 30 | 5dc02b23752f |
parent 29 | b72c6db6890b |
child 33 | 3e2da88830cd |
permissions | -rw-r--r-- |
0 | 1 |
defineReplace(prependAll) { |
2 |
prepend = $$1 |
|
3 |
arglist = $$2 |
|
4 |
append = $$3 |
|
5 |
for(a,arglist) { |
|
6 |
result += $${prepend}$${a}$${append} |
|
7 |
} |
|
8 |
return ($$result) |
|
9 |
} |
|
10 |
||
29
b72c6db6890b
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
25
diff
changeset
|
11 |
qtPrepareTool(LUPDATE, lupdate) |
18
2f34d5167611
Revision: 201011
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
12 |
LUPDATE += -locations relative -no-ui-lines |
0 | 13 |
|
14 |
###### Qt Libraries |
|
15 |
||
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
29
diff
changeset
|
16 |
QT_TS = ar cs da de es fr he hu ja_JP pl pt ru sk sl sv uk zh_CN zh_TW |
0 | 17 |
|
18 |
ts-qt.commands = (cd $$QT_SOURCE_TREE/src && $$LUPDATE \ |
|
19 |
-I../include -I../include/Qt \ |
|
20 |
3rdparty/phonon \ |
|
21 |
3rdparty/webkit \ |
|
22 |
activeqt \ |
|
23 |
corelib \ |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
29
diff
changeset
|
24 |
declarative \ |
0 | 25 |
gui \ |
26 |
multimedia \ |
|
27 |
network \ |
|
28 |
opengl \ |
|
29 |
plugins \ |
|
30 |
qt3support \ |
|
31 |
script \ |
|
32 |
scripttools \ |
|
33 |
sql \ |
|
34 |
svg \ |
|
35 |
xml \ |
|
36 |
xmlpatterns \ |
|
37 |
-ts $$prependAll($$QT_SOURCE_TREE/translations/qt_,$$QT_TS,.ts)) |
|
38 |
ts-qt.depends = sub-tools |
|
39 |
||
40 |
###### Designer |
|
41 |
||
42 |
ts-designer.commands = (cd $$QT_SOURCE_TREE/src && $$LUPDATE \ |
|
43 |
../tools/designer/translations/translations.pro) |
|
44 |
ts-designer.depends = sub-tools |
|
45 |
||
46 |
###### Linguist |
|
47 |
||
48 |
ts-linguist.commands = (cd $$QT_SOURCE_TREE/src && $$LUPDATE \ |
|
49 |
../tools/linguist/linguist/linguist.pro) |
|
50 |
ts-linguist.depends = sub-tools |
|
51 |
||
52 |
###### Assistant |
|
53 |
||
54 |
ts-assistant.commands = (cd $$QT_SOURCE_TREE/src && $$LUPDATE \ |
|
55 |
../tools/assistant/translations/translations.pro \ |
|
56 |
&& $$LUPDATE \ |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
29
diff
changeset
|
57 |
../tools/assistant/translations/qt_help.pro) |
0 | 58 |
ts-assistant.depends = sub-tools |
59 |
||
60 |
###### Qtconfig |
|
61 |
||
62 |
ts-qtconfig.commands = (cd $$QT_SOURCE_TREE/src && $$LUPDATE \ |
|
63 |
../tools/qtconfig/translations/translations.pro) |
|
64 |
ts-qtconfig.depends = sub-tools |
|
65 |
||
66 |
###### Qvfp |
|
67 |
||
68 |
ts-qvfb.commands = (cd $$QT_SOURCE_TREE/src && $$LUPDATE \ |
|
69 |
../tools/qvfb/translations/translations.pro) |
|
70 |
ts-qvfb.depends = sub-tools |
|
71 |
||
72 |
###### Overall Rules |
|
73 |
||
74 |
ts.depends = ts-qt ts-designer ts-linguist ts-assistant ts-qtconfig ts-qvfb |
|
75 |
||
76 |
QMAKE_EXTRA_TARGETS += ts-qt ts-designer ts-linguist ts-assistant ts-qtconfig ts-qvfb \ |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
77 |
ts |