Package: qt4-x11 / 4:4.8.7+dfsg-18

11_build_translations.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
author: Fathi Boudra <fabo@debian.org>

translations fails to build under autobuilders.
Use case: Qt sources comes from git and we need to build them.

---
 tools/assistant/translations/qt_help.pro      |   53 +++++++++
 tools/assistant/translations/translations.pro |   54 +++++++++
 tools/designer/translations/translations.pro  |  141 ++++++++++++++++++++++++++
 3 files changed, 248 insertions(+)

--- /dev/null
+++ b/tools/assistant/translations/qt_help.pro
@@ -0,0 +1,53 @@
+# Include those manually as they do not contain any directory specification
+
+SOURCES += ../lib/qhelpcollectionhandler.cpp \
+           ../lib/qhelpcontentwidget.cpp \
+           ../lib/qhelpdatainterface.cpp \
+           ../lib/qhelpdbreader.cpp \
+           ../lib/qhelpengine.cpp \
+           ../lib/qhelpenginecore.cpp \
+           ../lib/qhelpgenerator.cpp \
+           ../lib/qhelpindexwidget.cpp \
+           ../lib/qhelpprojectdata.cpp \
+           ../lib/qhelpsearchengine.cpp \
+           ../lib/qhelpsearchindexreader_clucene.cpp \
+           ../lib/qhelpsearchindexreader_default.cpp \
+           ../lib/qhelpsearchindexwriter_clucene.cpp \
+           ../lib/qhelpsearchindexwriter_default.cpp \
+           ../lib/qhelpsearchindex_default.cpp \
+           ../lib/qhelpsearchquerywidget.cpp \
+           ../lib/qhelpsearchresultwidget.cpp
+
+HEADERS += ../lib/qhelpcollectionhandler_p.h \
+           ../lib/qhelpcontentwidget.h \
+           ../lib/qhelpdatainterface_p.h \
+           ../lib/qhelpdbreader_p.h \
+           ../lib/qhelpengine.h \
+           ../lib/qhelpenginecore.h \
+           ../lib/qhelpengine_p.h \
+           ../lib/qhelpgenerator_p.h \
+           ../lib/qhelpindexwidget.h \
+           ../lib/qhelpprojectdata_p.h \
+           ../lib/qhelpsearchengine.h \
+           ../lib/qhelpsearchindexreader_clucene_p.h \
+           ../lib/qhelpsearchindexreader_default_p.h \
+           ../lib/qhelpsearchindexwriter_clucene_p.h \
+           ../lib/qhelpsearchindexwriter_default_p.h \
+           ../lib/qhelpsearchindex_default_p.h \
+           ../lib/qhelpsearchquerywidget.h \
+           ../lib/qhelpsearchresultwidget.h \
+           ../lib/qhelp_global.h
+
+
+TR_DIR = $$PWD/../../../translations
+TRANSLATIONS = \
+    $$TR_DIR/qt_help_cs.ts \
+    $$TR_DIR/qt_help_da.ts \
+    $$TR_DIR/qt_help_de.ts \
+    $$TR_DIR/qt_help_hu.ts \
+    $$TR_DIR/qt_help_ja.ts \
+    $$TR_DIR/qt_help_pl.ts \
+    $$TR_DIR/qt_help_ru.ts \
+    $$TR_DIR/qt_help_zh_CN.ts \
+    $$TR_DIR/qt_help_zh_TW.ts \
+    $$TR_DIR/qt_help_fr.ts
--- /dev/null
+++ b/tools/assistant/translations/translations.pro
@@ -0,0 +1,54 @@
+# Include those manually as they do not contain any directory specification
+
+FORMS += ../tools/assistant/filternamedialog.ui \
+         ../tools/assistant/installdialog.ui \
+         ../tools/assistant/preferencesdialog.ui \
+         ../tools/assistant/topicchooser.ui \
+         ../tools/assistant/bookmarkdialog.ui
+
+SOURCES += ../tools/assistant/aboutdialog.cpp \
+           ../tools/assistant/bookmarkmanager.cpp \
+           ../tools/assistant/centralwidget.cpp \
+           ../tools/assistant/cmdlineparser.cpp \
+           ../tools/assistant/contentwindow.cpp \
+           ../tools/assistant/filternamedialog.cpp \
+           ../tools/assistant/helpviewer.cpp \
+           ../tools/assistant/indexwindow.cpp \
+           ../tools/assistant/installdialog.cpp \
+           ../tools/assistant/main.cpp \
+           ../tools/assistant/mainwindow.cpp \
+           ../tools/assistant/preferencesdialog.cpp \
+           ../tools/assistant/remotecontrol.cpp \
+           ../tools/assistant/searchwidget.cpp \
+           ../tools/assistant/topicchooser.cpp \
+
+SOURCES += ../../shared/fontpanel/fontpanel.cpp
+
+HEADERS += ../tools/assistant/aboutdialog.h \
+           ../tools/assistant/bookmarkmanager.h \
+           ../tools/assistant/centralwidget.h \
+           ../tools/assistant/cmdlineparser.h \
+           ../tools/assistant/contentwindow.h \
+           ../tools/assistant/filternamedialog.h \
+           ../tools/assistant/helpviewer.h \
+           ../tools/assistant/indexwindow.h \
+           ../tools/assistant/installdialog.h \
+           ../tools/assistant/mainwindow.h \
+           ../tools/assistant/preferencesdialog.h \
+           ../tools/assistant/remotecontrol.h \
+           ../tools/assistant/remotecontrol_win.h \
+           ../tools/assistant/searchwidget.h \
+           ../tools/assistant/topicchooser.h \
+
+TR_DIR = $$PWD/../../../translations
+TRANSLATIONS = \
+    $$TR_DIR/assistant_cs.ts \
+    $$TR_DIR/assistant_da.ts \
+    $$TR_DIR/assistant_de.ts \
+    $$TR_DIR/assistant_fr.ts \
+    $$TR_DIR/assistant_hu.ts \
+    $$TR_DIR/assistant_ja.ts \
+    $$TR_DIR/assistant_pl.ts \
+    $$TR_DIR/assistant_ru.ts \
+    $$TR_DIR/assistant_zh_CN.ts \
+    $$TR_DIR/assistant_zh_TW.ts
--- /dev/null
+++ b/tools/designer/translations/translations.pro
@@ -0,0 +1,141 @@
+include(../src/components/buddyeditor/buddyeditor.pri)
+include(../src/components/component.pri)
+include(../src/components/formeditor/formeditor.pri)
+include(../src/components/objectinspector/objectinspector.pri)
+include(../src/components/propertyeditor/propertyeditor.pri)
+include(../src/components/signalsloteditor/signalsloteditor.pri)
+include(../src/components/tabordereditor/tabordereditor.pri)
+include(../src/components/taskmenu/taskmenu.pri)
+include(../src/components/widgetbox/widgetbox.pri)
+include(../src/lib/extension/extension.pri)
+include(../src/lib/sdk/sdk.pri)
+include(../src/lib/shared/shared.pri)
+include(../src/lib/uilib/uilib.pri)
+include(../../shared/qttoolbardialog/qttoolbardialog.pri)
+include(../../shared/qtpropertybrowser/qtpropertybrowser.pri)
+include(../../shared/qtgradienteditor/qtgradienteditor.pri)
+
+# Include ActiveQt plugin
+SOURCES += ../src/plugins/activeqt/qaxwidgetextrainfo.cpp \
+           ../src/plugins/activeqt/qaxwidgetplugin.cpp \
+           ../src/plugins/activeqt/qaxwidgetpropertysheet.cpp \
+           ../src/plugins/activeqt/qaxwidgettaskmenu.cpp \
+           ../src/plugins/activeqt/qdesigneraxwidget.cpp
+
+HEADERS += ../src/plugins/activeqt/qaxwidgetextrainfo.h \
+           ../src/plugins/activeqt/qaxwidgetplugin.h \
+           ../src/plugins/activeqt/qaxwidgetpropertysheet.h \
+           ../src/plugins/activeqt/qaxwidgettaskmenu.h \
+           ../src/plugins/activeqt/qdesigneraxwidget.h \
+           ../../../src/activeqt/shared/qaxtypes.h
+
+
+# Include Qt3Support plugin
+
+SOURCES += ../src/plugins/widgets/qt3supportwidgets.cpp
+HEADERS += ../src/plugins/widgets/q3iconview/q3iconview_extrainfo.h \
+           ../src/plugins/widgets/q3iconview/q3iconview_plugin.h \
+           ../src/plugins/widgets/q3listview/q3listview_extrainfo.h \
+           ../src/plugins/widgets/q3listview/q3listview_plugin.h \
+           ../src/plugins/widgets/q3mainwindow/q3mainwindow_container.h \
+           ../src/plugins/widgets/q3mainwindow/q3mainwindow_plugin.h \
+           ../src/plugins/widgets/q3toolbar/q3toolbar_extrainfo.h \
+           ../src/plugins/widgets/q3toolbar/q3toolbar_plugin.h \
+           ../src/plugins/widgets/q3widgetstack/q3widgetstack_container.h \
+           ../src/plugins/widgets/q3widgetstack/q3widgetstack_plugin.h \
+           ../src/plugins/widgets/q3widgetstack/qdesigner_q3widgetstack_p.h \
+           ../src/plugins/widgets/q3wizard/q3wizard_container.h \
+           ../src/plugins/widgets/q3wizard/q3wizard_plugin.h \
+           ../src/plugins/widgets/q3listbox/q3listbox_extrainfo.h \
+           ../src/plugins/widgets/q3listbox/q3listbox_plugin.h \
+           ../src/plugins/widgets/q3table/q3table_extrainfo.h \
+           ../src/plugins/widgets/q3table/q3table_plugin.h \
+           ../src/plugins/widgets/q3textedit/q3textedit_extrainfo.h \
+           ../src/plugins/widgets/q3textedit/q3textedit_plugin.h \
+           ../src/plugins/widgets/q3widgets/q3widget_plugins.h
+
+SOURCES += ../src/plugins/widgets/q3iconview/q3iconview_extrainfo.cpp \
+           ../src/plugins/widgets/q3iconview/q3iconview_plugin.cpp \
+           ../src/plugins/widgets/q3listview/q3listview_extrainfo.cpp \
+           ../src/plugins/widgets/q3listview/q3listview_plugin.cpp \
+           ../src/plugins/widgets/q3mainwindow/q3mainwindow_container.cpp \
+           ../src/plugins/widgets/q3mainwindow/q3mainwindow_plugin.cpp \
+           ../src/plugins/widgets/q3toolbar/q3toolbar_extrainfo.cpp \
+           ../src/plugins/widgets/q3toolbar/q3toolbar_plugin.cpp \
+           ../src/plugins/widgets/q3widgetstack/q3widgetstack_container.cpp \
+           ../src/plugins/widgets/q3widgetstack/q3widgetstack_plugin.cpp \
+           ../src/plugins/widgets/q3widgetstack/qdesigner_q3widgetstack.cpp \
+           ../src/plugins/widgets/q3wizard/q3wizard_container.cpp \
+           ../src/plugins/widgets/q3wizard/q3wizard_plugin.cpp \
+           ../src/plugins/widgets/q3listbox/q3listbox_extrainfo.cpp \
+           ../src/plugins/widgets/q3listbox/q3listbox_plugin.cpp \
+           ../src/plugins/widgets/q3table/q3table_extrainfo.cpp \
+           ../src/plugins/widgets/q3table/q3table_plugin.cpp \
+           ../src/plugins/widgets/q3textedit/q3textedit_extrainfo.cpp \
+           ../src/plugins/widgets/q3textedit/q3textedit_plugin.cpp \
+           ../src/plugins/widgets/q3widgets/q3widget_plugins.cpp
+
+# Include those manually as they do not contain any directory specification
+APP_DIR=../src/designer
+SOURCES += $$APP_DIR/appfontdialog.cpp \
+           $$APP_DIR/assistantclient.cpp \
+           $$APP_DIR/main.cpp \
+           $$APP_DIR/mainwindow.cpp \
+           $$APP_DIR/newform.cpp \
+           $$APP_DIR/preferencesdialog.cpp \
+           $$APP_DIR/qdesigner_actions.cpp \
+           $$APP_DIR/qdesigner_appearanceoptions.cpp \
+           $$APP_DIR/qdesigner.cpp \
+           $$APP_DIR/qdesigner_formwindow.cpp \
+           $$APP_DIR/qdesigner_server.cpp \
+           $$APP_DIR/qdesigner_settings.cpp \
+           $$APP_DIR/qdesigner_toolwindow.cpp \
+           $$APP_DIR/qdesigner_workbench.cpp \
+           $$APP_DIR/saveformastemplate.cpp \
+           $$APP_DIR/versiondialog.cpp
+
+HEADERS+=  $$APP_DIR/appfontdialog.h \
+           $$APP_DIR/assistantclient.h \
+           $$APP_DIR/designer_enums.h \
+           $$APP_DIR/mainwindow.h \
+           $$APP_DIR/newform.h \
+           $$APP_DIR/preferencesdialog.h \
+           $$APP_DIR/qdesigner_actions.h \
+           $$APP_DIR/qdesigner_appearanceoptions.h \
+           $$APP_DIR/qdesigner_formwindow.h \
+           $$APP_DIR/qdesigner.h \
+           $$APP_DIR/qdesigner_pch.h \
+           $$APP_DIR/qdesigner_server.h \
+           $$APP_DIR/qdesigner_settings.h \
+           $$APP_DIR/qdesigner_toolwindow.h \
+           $$APP_DIR/qdesigner_workbench.h \
+           $$APP_DIR/saveformastemplate.h \
+           $$APP_DIR/versiondialog.h
+
+FORMS +=   $$APP_DIR/preferencesdialog.ui \
+           $$APP_DIR/qdesigner_appearanceoptions.ui \
+           $$APP_DIR/saveformastemplate.ui
+
+# Shared solutions
+SOURCES += ../../shared/fontpanel/fontpanel.cpp \
+           ../../shared/deviceskin/deviceskin.cpp \
+           ../../shared/findwidget/abstractfindwidget.cpp \
+           ../../shared/findwidget/itemviewfindwidget.cpp \
+           ../../shared/findwidget/texteditfindwidget.cpp \
+
+HEADERS += ../../shared/findwidget/abstractfindwidget.h \
+           ../../shared/findwidget/itemviewfindwidget.h \
+           ../../shared/findwidget/texteditfindwidget.h
+
+TR_DIR = $$PWD/../../../translations
+TRANSLATIONS = \
+    $$TR_DIR/designer_cs.ts \
+    $$TR_DIR/designer_de.ts \
+    $$TR_DIR/designer_fr.ts \
+    $$TR_DIR/designer_hu.ts \
+    $$TR_DIR/designer_ja.ts \
+    $$TR_DIR/designer_pl.ts \
+    $$TR_DIR/designer_ru.ts \
+    $$TR_DIR/designer_sl.ts \
+    $$TR_DIR/designer_zh_CN.ts \
+    $$TR_DIR/designer_zh_TW.ts