blob: 4f7ed8a77e4a79067599f69a56f73d54e9c9189b (
plain)
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
|
TEMPLATE = app
LANGUAGE = C++
DESTDIR = ../../../bin
QT += xml
CONFIG += qt \
warn_on \
uitools
DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII
build_all:!build_pass {
CONFIG -= build_all
CONFIG += release
}
include(../shared/formats.pri)
DEFINES += QFORMINTERNAL_NAMESPACE
INCLUDEPATH += ../../designer/src/uitools
INCLUDEPATH += ../../designer/src/lib/uilib
SOURCES += \
batchtranslationdialog.cpp \
errorsview.cpp \
finddialog.cpp \
formpreviewview.cpp \
globals.cpp \
main.cpp \
mainwindow.cpp \
messageeditor.cpp \
messageeditorwidgets.cpp \
messagehighlighter.cpp \
messagemodel.cpp \
phrasebookbox.cpp \
phrase.cpp \
phrasemodel.cpp \
phraseview.cpp \
printout.cpp \
recentfiles.cpp \
sourcecodeview.cpp \
statistics.cpp \
translatedialog.cpp \
translationsettingsdialog.cpp \
../shared/simtexth.cpp
HEADERS += \
batchtranslationdialog.h \
errorsview.h \
finddialog.h \
formpreviewview.h \
globals.h \
mainwindow.h \
messageeditor.h \
messageeditorwidgets.h \
messagehighlighter.h \
messagemodel.h \
phrasebookbox.h \
phrase.h \
phrasemodel.h \
phraseview.h \
printout.h \
recentfiles.h \
sourcecodeview.h \
statistics.h \
translatedialog.h \
translationsettingsdialog.h \
../shared/simtexth.h
contains(QT_PRODUCT, OpenSource.*):DEFINES *= QT_OPENSOURCE
DEFINES += QT_KEYWORDS
TARGET = linguist
win32:RC_FILE = linguist.rc
mac {
static:CONFIG -= global_init_link_order
ICON = linguist.icns
TARGET = Linguist
QMAKE_INFO_PLIST=Info_mac.plist
}
PROJECTNAME = Qt \
Linguist
target.path = $$[QT_INSTALL_BINS]
INSTALLS += target
phrasebooks.path = $$[QT_INSTALL_DATA]/phrasebooks
# ## will this work on windows?
phrasebooks.files = $$QT_SOURCE_TREE/tools/linguist/phrasebooks/*
INSTALLS += phrasebooks
FORMS += statistics.ui \
phrasebookbox.ui \
batchtranslation.ui \
translatedialog.ui \
mainwindow.ui \
translationsettings.ui \
finddialog.ui
RESOURCES += linguist.qrc
TR_DIR = $$PWD/../../../translations
TRANSLATIONS = \
$$TR_DIR/linguist_cs.ts \
$$TR_DIR/linguist_de.ts \
$$TR_DIR/linguist_fr.ts \
$$TR_DIR/linguist_hu.ts \
$$TR_DIR/linguist_ja.ts \
$$TR_DIR/linguist_pl.ts \
$$TR_DIR/linguist_ru.ts \
$$TR_DIR/linguist_zh_CN.ts \
$$TR_DIR/linguist_zh_TW.ts
|