author | Eckhart Koeppen <eckhart.koppen@nokia.com> |
Thu, 29 Apr 2010 15:15:16 +0300 | |
branch | RCL_3 |
changeset 17 | 4b6ee5efea19 |
parent 5 | d3bac044e0f0 |
child 30 | 5dc02b23752f |
permissions | -rw-r--r-- |
0 | 1 |
TEMPLATE = app |
2 |
LANGUAGE = C++ |
|
3 |
DESTDIR = ../../../bin |
|
4 |
||
5 |
QT += xml |
|
6 |
||
7 |
CONFIG += qt \ |
|
8 |
warn_on \ |
|
9 |
uitools |
|
10 |
||
11 |
DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII |
|
12 |
build_all:!build_pass { |
|
13 |
CONFIG -= build_all |
|
14 |
CONFIG += release |
|
15 |
} |
|
16 |
||
17 |
include(../shared/formats.pri) |
|
18 |
||
19 |
DEFINES += QFORMINTERNAL_NAMESPACE |
|
20 |
INCLUDEPATH += ../../designer/src/uitools |
|
21 |
INCLUDEPATH += ../../designer/src/lib/uilib |
|
22 |
||
23 |
SOURCES += \ |
|
24 |
batchtranslationdialog.cpp \ |
|
25 |
errorsview.cpp \ |
|
26 |
finddialog.cpp \ |
|
27 |
formpreviewview.cpp \ |
|
28 |
globals.cpp \ |
|
29 |
main.cpp \ |
|
30 |
mainwindow.cpp \ |
|
31 |
messageeditor.cpp \ |
|
32 |
messageeditorwidgets.cpp \ |
|
33 |
messagehighlighter.cpp \ |
|
34 |
messagemodel.cpp \ |
|
35 |
phrasebookbox.cpp \ |
|
36 |
phrase.cpp \ |
|
37 |
phrasemodel.cpp \ |
|
38 |
phraseview.cpp \ |
|
39 |
printout.cpp \ |
|
40 |
recentfiles.cpp \ |
|
41 |
sourcecodeview.cpp \ |
|
42 |
statistics.cpp \ |
|
43 |
translatedialog.cpp \ |
|
44 |
translationsettingsdialog.cpp \ |
|
45 |
../shared/simtexth.cpp |
|
46 |
||
47 |
HEADERS += \ |
|
48 |
batchtranslationdialog.h \ |
|
49 |
errorsview.h \ |
|
50 |
finddialog.h \ |
|
51 |
formpreviewview.h \ |
|
52 |
globals.h \ |
|
53 |
mainwindow.h \ |
|
54 |
messageeditor.h \ |
|
55 |
messageeditorwidgets.h \ |
|
56 |
messagehighlighter.h \ |
|
57 |
messagemodel.h \ |
|
58 |
phrasebookbox.h \ |
|
59 |
phrase.h \ |
|
60 |
phrasemodel.h \ |
|
61 |
phraseview.h \ |
|
62 |
printout.h \ |
|
63 |
recentfiles.h \ |
|
64 |
sourcecodeview.h \ |
|
65 |
statistics.h \ |
|
66 |
translatedialog.h \ |
|
67 |
translationsettingsdialog.h \ |
|
68 |
../shared/simtexth.h |
|
69 |
||
70 |
contains(QT_PRODUCT, OpenSource.*):DEFINES *= QT_OPENSOURCE |
|
71 |
DEFINES += QT_KEYWORDS |
|
72 |
TARGET = linguist |
|
73 |
win32:RC_FILE = linguist.rc |
|
74 |
mac { |
|
75 |
static:CONFIG -= global_init_link_order |
|
76 |
ICON = linguist.icns |
|
77 |
TARGET = Linguist |
|
78 |
QMAKE_INFO_PLIST=Info_mac.plist |
|
79 |
} |
|
80 |
PROJECTNAME = Qt \ |
|
81 |
Linguist |
|
82 |
target.path = $$[QT_INSTALL_BINS] |
|
83 |
INSTALLS += target |
|
84 |
phrasebooks.path = $$[QT_INSTALL_DATA]/phrasebooks |
|
85 |
||
86 |
# ## will this work on windows? |
|
87 |
phrasebooks.files = $$QT_SOURCE_TREE/tools/linguist/phrasebooks/* |
|
88 |
INSTALLS += phrasebooks |
|
89 |
FORMS += statistics.ui \ |
|
90 |
phrasebookbox.ui \ |
|
91 |
batchtranslation.ui \ |
|
92 |
translatedialog.ui \ |
|
93 |
mainwindow.ui \ |
|
94 |
translationsettings.ui \ |
|
95 |
finddialog.ui |
|
96 |
RESOURCES += linguist.qrc |
|
97 |
||
98 |
TR_DIR = $$PWD/../../../translations |
|
99 |
TRANSLATIONS = \ |
|
5
d3bac044e0f0
Revision: 201007
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
100 |
$$TR_DIR/linguist_cs.ts \ |
0 | 101 |
$$TR_DIR/linguist_de.ts \ |
102 |
$$TR_DIR/linguist_fr.ts \ |
|
103 |
$$TR_DIR/linguist_ja.ts \ |
|
104 |
$$TR_DIR/linguist_pl.ts \ |
|
105 |
$$TR_DIR/linguist_ru.ts \ |
|
106 |
$$TR_DIR/linguist_zh_CN.ts \ |
|
107 |
$$TR_DIR/linguist_zh_TW.ts |