-
Notifications
You must be signed in to change notification settings - Fork 4
/
pisido.pro
174 lines (149 loc) · 4.53 KB
/
pisido.pro
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
#-------------------------------------------------
#
# Project created by QtCreator 2011-04-10T13:32:53
#
#-------------------------------------------------
QT += core gui xml network
CONFIG += exceptions warn_on precompile_header qscintilla2
greaterThan(QT_MAJOR_VERSION, 4){
QT += widgets
DEFINES += USING_QT5=\\\"true\\\"
LIBS += -lqtermwidget5
}else{
LIBS += -lqtermwidget4
}
system(lrelease translations/*.ts)
TARGET = pisido
TEMPLATE = app
LANGUAGE = C++
VERSION = 2.3.6
DEFINES += PISIDO_VERSION=\\\"$$VERSION\\\"
INCLUDEPATH += ./h
PISIDO_BIN_ROOT = /usr/bin
PISIDO_FILES_ROOT = /usr/share/pisido
PISIDO_DOC_ROOT = /usr/share/doc/pisido
PIXMAP_ROOT = /usr/share/pixmaps
DESKTOP_ROOT = /usr/share/applications
bin_target.path = $$PISIDO_BIN_ROOT
bin_target.files += $$TARGET
INSTALLS += bin_target
translation_target.path = $$PISIDO_FILES_ROOT
translation_target.files += translations/pisido_tr_TR.qm
translation_target.files += translations/pisido_en_US.qm
translation_target.files += translations/pisido_de_DE.qm
INSTALLS += translation_target
help_target.path = $$PISIDO_DOC_ROOT
help_target.files += help/help_tr_TR.pdf
help_target.files += help/help_en_US.pdf
help_target.files += help/help_de_DE.pdf
INSTALLS += help_target
pixmap_target.path = $$PIXMAP_ROOT
pixmap_target.files += resources/images/pisido.png
INSTALLS += pixmap_target
desktop_target.path = $$DESKTOP_ROOT
desktop_target.files += resources/files/pisido.desktop
INSTALLS += desktop_target
# program will scan this dir for *.qm translation files.
# each file name must be like this : pisido_xx_XX.qm
# xx must be a valid language_COUNTRY pair, see QLocale doc.
# for example : pisido_tr_TR.qm , pisido_fr_FR.qm , ...
# same as translations; add each help file like this:
# help_tr_TR.pdf, help_en_US.pdf, ...
CONFIG(debug, debug|release){
DEFINES += PISIDO_LANG_DIR=\\\"$$PWD/translations/\\\"
DEFINES += PISIDO_HELP_DIR=\\\"$$PWD/help/\\\"
}
CONFIG(release, debug|release){
DEFINES += PISIDO_LANG_DIR=\\\"$$PISIDO_FILES_ROOT/\\\"
DEFINES += PISIDO_HELP_DIR=\\\"$$PISIDO_DOC_ROOT/\\\"
}
# Use Precompiled headers (PCHs)
PRECOMPILED_HEADER = h/pchs.h
MOC_DIR = generated/moc
OBJECTS_DIR = generated/objects
RCC_DIR = generated/resources
UI_DIR = generated/ui
SOURCES += \
cpp/main.cpp\
cpp/application.cpp \
cpp/mainwindow.cpp \
cpp/configurationdialog.cpp \
cpp/pisispbase.cpp \
cpp/pisi.cpp \
cpp/pisipackage.cpp \
cpp/pisisource.cpp \
cpp/pisiupdate.cpp \
cpp/addupdatedialog.cpp \
cpp/languagedialog.cpp \
cpp/workspacedialog.cpp \
cpp/additionalfiledialog.cpp \
cpp/addinstallfilelabeldialog.cpp \
cpp/archiveselectiondialog.cpp \
cpp/archivewidget.cpp \
cpp/aboutdialog.cpp \
cpp/directorymodel.cpp \
cpp/translationwidget.cpp \
cpp/removecontainersdialog.cpp
HEADERS += \
h/pchs.h \
h/mainwindow.h \
h/application.h \
h/configurationdialog.h \
h/pisispbase.h \
h/pisi.h \
h/pisipackage.h \
h/pisisource.h \
h/pisiupdate.h \
h/addupdatedialog.h \
h/languagedialog.h \
h/workspacedialog.h \
h/additionalfiledialog.h \
h/addinstallfilelabeldialog.h \
h/archiveselectiondialog.h \
h/archivewidget.h \
h/aboutdialog.h \
h/multicompleter.h \
h/directorymodel.h \
h/translationwidget.h \
h/removecontainersdialog.h
FORMS += \
ui/mainwindow.ui \
ui/configurationdialog.ui \
ui/addupdatedialog.ui \
ui/languagedialog.ui \
ui/workspacedialog.ui \
ui/additionalfiledialog.ui \
ui/addinstallfilelabeldialog.ui \
ui/archiveselectiondialog.ui \
ui/archivewidget.ui \
ui/aboutdialog.ui \
ui/translationwidget.ui \
ui/removecontainersdialog.ui
TRANSLATIONS += \
translations/pisido_en_US.ts \
translations/pisido_tr_TR.ts \
translations/pisido_de_DE.ts
OTHER_FILES += \
README \
OKUBUNU \
LICENSE \
LISANS \
TODO \
YAPILACAKLAR \
help/help_tr_TR.pdf \
help/help_tr_TR.odt \
help/help_en_US.pdf \
help/help_en_US.odt \
help/help_de_DE.pdf \
help/help_de_DE.odt \
resources/files/actions_template_auto.py \
resources/files/actions_template_cmake.py \
resources/files/actions_template_java.py \
resources/files/actions_template_kde5.py \
resources/files/actions_template_meson.py \
resources/files/actions_template_perl.py \
resources/files/actions_template_python.py \
resources/files/actions_template_qt5.py \
resources/files/actions_template_scons.py \
RESOURCES += \
resources/pisido.qrc