author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Fri, 19 Feb 2010 23:40:16 +0200 | |
branch | RCL_3 |
changeset 4 | 3b1da2848fc7 |
parent 3 | 41300fa6a67c |
child 5 | d3bac044e0f0 |
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 |
||
4
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
11 |
LUPDATE = $$QT_BUILD_TREE/bin/lupdate |
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
12 |
win32 { |
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
13 |
LUPDATE ~= s,/,$$QMAKE_DIR_SEP, |
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
14 |
LUPDATE = $${LUPDATE}.exe |
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
15 |
} |
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
16 |
LUPDATE += -locations relative -no-ui-lines |
0 | 17 |
|
18 |
###### Qt Libraries |
|
19 |
||
20 |
QT_TS = ar da de es fr iw ja_JP pl pt ru sk sl sv uk zh_CN zh_TW |
|
21 |
||
22 |
ts-qt.commands = (cd $$QT_SOURCE_TREE/src && $$LUPDATE \ |
|
23 |
-I../include -I../include/Qt \ |
|
24 |
3rdparty/phonon \ |
|
25 |
3rdparty/webkit \ |
|
26 |
activeqt \ |
|
27 |
corelib \ |
|
28 |
gui \ |
|
29 |
multimedia \ |
|
30 |
network \ |
|
31 |
opengl \ |
|
32 |
plugins \ |
|
33 |
qt3support \ |
|
34 |
script \ |
|
35 |
scripttools \ |
|
36 |
sql \ |
|
37 |
svg \ |
|
38 |
xml \ |
|
39 |
xmlpatterns \ |
|
40 |
-ts $$prependAll($$QT_SOURCE_TREE/translations/qt_,$$QT_TS,.ts)) |
|
41 |
ts-qt.depends = sub-tools |
|
42 |
||
43 |
###### Designer |
|
44 |
||
45 |
ts-designer.commands = (cd $$QT_SOURCE_TREE/src && $$LUPDATE \ |
|
46 |
../tools/designer/translations/translations.pro) |
|
47 |
ts-designer.depends = sub-tools |
|
48 |
||
49 |
###### Linguist |
|
50 |
||
51 |
ts-linguist.commands = (cd $$QT_SOURCE_TREE/src && $$LUPDATE \ |
|
52 |
../tools/linguist/linguist/linguist.pro) |
|
53 |
ts-linguist.depends = sub-tools |
|
54 |
||
55 |
###### Assistant |
|
56 |
||
57 |
ts-assistant.commands = (cd $$QT_SOURCE_TREE/src && $$LUPDATE \ |
|
58 |
../tools/assistant/translations/translations.pro \ |
|
59 |
&& $$LUPDATE \ |
|
60 |
../tools/assistant/translations/qt_help.pro \ |
|
61 |
&& $$LUPDATE \ |
|
62 |
../tools/assistant/translations/translations_adp.pro) |
|
63 |
ts-assistant.depends = sub-tools |
|
64 |
||
65 |
###### Qtconfig |
|
66 |
||
67 |
ts-qtconfig.commands = (cd $$QT_SOURCE_TREE/src && $$LUPDATE \ |
|
68 |
../tools/qtconfig/translations/translations.pro) |
|
69 |
ts-qtconfig.depends = sub-tools |
|
70 |
||
71 |
###### Qvfp |
|
72 |
||
73 |
ts-qvfb.commands = (cd $$QT_SOURCE_TREE/src && $$LUPDATE \ |
|
74 |
../tools/qvfb/translations/translations.pro) |
|
75 |
ts-qvfb.depends = sub-tools |
|
76 |
||
77 |
###### Overall Rules |
|
78 |
||
79 |
ts.depends = ts-qt ts-designer ts-linguist ts-assistant ts-qtconfig ts-qvfb |
|
80 |
||
81 |
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
|
82 |
ts |