File: Eqonomize.pro

package info (click to toggle)
eqonomize 1.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 16,956 kB
  • sloc: cpp: 49,180; xml: 495; makefile: 10; sh: 6
file content (397 lines) | stat: -rw-r--r-- 13,481 bytes parent folder | download | duplicates (2)
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
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
VERSION = 1.5.1
isEmpty(PREFIX) {
	PREFIX = /usr/local
}
isEmpty(DESKTOP_DIR) {
	DESKTOP_DIR = $$PREFIX/share/applications
}
isEmpty(DESKTOP_ICON_DIR) {
	DESKTOP_ICON_DIR = $$PREFIX/share/icons
}
equals(INSTALL_THEME_ICONS,"no") {
	DEFINES += LOAD_EQZICONS_FROM_FILE=1
}
unix:!equals(COMPILE_RESOURCES,"yes"):!android:!macx {
	isEmpty(DOCUMENTATION_DIR) {
		DOCUMENTATION_DIR = $$PREFIX/share/doc/eqonomize/html
	}
	isEmpty(TRANSLATIONS_DIR) {
		TRANSLATIONS_DIR = $$PREFIX/share/eqonomize/translations
	}
	isEmpty(DATA_DIR) {
		DATA_DIR = $$PREFIX/share/eqonomize
	}
	isEmpty(MIME_DIR) {
		MIME_DIR = $$PREFIX/share/mime/packages
	}
	isEmpty(ICON_DIR) {
		equals(INSTALL_THEME_ICONS,"no") {
			ICON_DIR = $$PREFIX/share/eqonomize/icons
		} else {
			ICON_DIR = $$PREFIX/share/icons
		}
	}
} else {
	TRANSLATIONS_DIR = ":/translations"
	ICON_DIR = ":/icons"
	DATA_DIR = ":/data"
	DOCUMENTATION_DIR = ":/doc/html"
	DEFINES += RESOURCES_COMPILED=1
}
isEmpty(MAN_DIR) {
	MAN_DIR = $$PREFIX/share/man
}
TEMPLATE = app
TARGET = eqonomize
INCLUDEPATH += src
CONFIG += qt
QT += widgets network printsupport
!equals(DISABLE_QTCHARTS,"yes"):!equals(ENABLE_QTCHARTS,"no") {
	qtHaveModule(charts) {
		QT += charts
	} else {
		warning("Qt Charts module is missing")
	}
} else {
	equals(DISABLE_QTCHARTS,"no"):!equals(ENABLE_QTCHARTS,"yes") {
		QT += charts
	}
}
MOC_DIR = build
OBJECTS_DIR = build
DEFINES += TRANSLATIONS_DIR=\\\"$$TRANSLATIONS_DIR\\\"
DEFINES += DOCUMENTATION_DIR=\\\"$$DOCUMENTATION_DIR\\\"
DEFINES += DATA_DIR=\\\"$$DATA_DIR\\\"
DEFINES += ICON_DIR=\\\"$$ICON_DIR\\\"
DEFINES += VERSION=\\\"$$VERSION\\\"

HEADERS += src/account.h \
           src/accountcombobox.h \
           src/budget.h \
           src/categoriescomparisonchart.h \
           src/categoriescomparisonreport.h \
           #src/currencies.xml.h \
           src/currency.h \
           src/currencyconversiondialog.h \
           src/editaccountdialogs.h \
           src/editcurrencydialog.h \
           src/editscheduledtransactiondialog.h \
           src/editsplitdialog.h \
           src/eqonomize.h \
           src/eqonomizelist.h \
           src/eqonomizemonthselector.h \
           src/eqonomizevalueedit.h \
           src/importcsvdialog.h \
           src/ledgerdialog.h \
           src/overtimechart.h \
           src/overtimereport.h \
           src/qifimportexport.h \
           src/recurrence.h \
           src/recurrenceeditwidget.h \
           src/security.h \
           src/transaction.h \
           src/transactioneditwidget.h \
           src/transactionfilterwidget.h \
           src/transactionlistwidget.h
SOURCES += src/account.cpp \
           src/accountcombobox.cpp \
           src/budget.cpp \
           src/categoriescomparisonchart.cpp \
           src/categoriescomparisonreport.cpp \
           src/currency.cpp \
           src/currencyconversiondialog.cpp \
           src/editaccountdialogs.cpp \
           src/editcurrencydialog.cpp \
           src/editscheduledtransactiondialog.cpp \
           src/editsplitdialog.cpp \
           src/eqonomize.cpp \
           src/eqonomizemonthselector.cpp \
           src/eqonomizevalueedit.cpp \
           src/importcsvdialog.cpp \
           src/ledgerdialog.cpp \
           src/main.cpp \
           src/overtimechart.cpp \
           src/overtimereport.cpp \
           src/qifimportexport.cpp \
           src/recurrence.cpp \
           src/recurrenceeditwidget.cpp \
           src/security.cpp \
           src/transaction.cpp \
           src/transactioneditwidget.cpp \
           src/transactionfilterwidget.cpp \
           src/transactionlistwidget.cpp

unix:!equals(COMPILE_RESOURCES,"yes"):!android:!macx {
	TRANSLATIONS = 	translations/eqonomize_bg.ts \
			translations/eqonomize_cs.ts \
			translations/eqonomize_de.ts \
			translations/eqonomize_es.ts \
			translations/eqonomize_fr.ts \
			translations/eqonomize_hu.ts \
			translations/eqonomize_it.ts \
			translations/eqonomize_nl.ts \
			translations/eqonomize_pt.ts \
			translations/eqonomize_pt_BR.ts \
			translations/eqonomize_ro.ts \
			translations/eqonomize_ru.ts \
			translations/eqonomize_sk.ts \
			translations/eqonomize_sv.ts

	target.path = $$PREFIX/bin
	qm.files = 	translations/eqonomize_bg.qm \
			translations/eqonomize_cs.qm \
			translations/eqonomize_de.qm \
			translations/eqonomize_es.qm \
			translations/eqonomize_fr.qm \
			translations/eqonomize_hu.qm \
			translations/eqonomize_it.qm \
			translations/eqonomize_nl.qm \
			translations/eqonomize_pt.qm \
			translations/eqonomize_pt_BR.qm \
			translations/eqonomize_ro.qm \
			translations/eqonomize_ru.qm \
			translations/eqonomize_sk.qm \
			translations/eqonomize_sv.qm
		
	qm.path = $$TRANSLATIONS_DIR
	data.files = data/currencies.xml
	data.path = $$DATA_DIR
	doc.files = doc/html/*
	doc.path = $$DOCUMENTATION_DIR
	desktop.files = data/eqonomize.desktop
	desktop.path = $$DESKTOP_DIR
	mime.files = data/eqonomize.xml
	mime.path = $$MIME_DIR

	appicon16.files = data/16/eqonomize.png
	appicon16.path = $$ICON_DIR/hicolor/16x16/apps
	appicon22.files = data/22/eqonomize.png
	appicon22.path = $$ICON_DIR/hicolor/22x22/apps
	appicon32.files = data/32/eqonomize.png
	appicon32.path = $$ICON_DIR/hicolor/32x32/apps
	appicon64.files = data/64/eqonomize.png
	appicon64.path = $$ICON_DIR/hicolor/64x64/apps
	appicon128.files = data/128/eqonomize.png
	appicon128.path = $$ICON_DIR/hicolor/128x128/apps
	appiconsvg.files = data/scalable/eqonomize.svg
	appiconsvg.path = $$ICON_DIR/hicolor/scalable/apps

	mimeicon16.files = data/16/application-x-eqonomize.png
	mimeicon16.path = $$ICON_DIR/hicolor/16x16/mimetypes
	mimeicon22.files = data/22/application-x-eqonomize.png
	mimeicon22.path = $$ICON_DIR/hicolor/22x22/mimetypes
	mimeicon32.files = data/32/application-x-eqonomize.png
	mimeicon32.path = $$ICON_DIR/hicolor/32x32/mimetypes
	mimeicon48.files = data/48/application-x-eqonomize.png
	mimeicon48.path = $$ICON_DIR/hicolor/48x48/mimetypes
	mimeicon64.files = data/64/application-x-eqonomize.png
	mimeicon64.path = $$ICON_DIR/hicolor/64x64/mimetypes
	mimeicon128.files = data/128/application-x-eqonomize.png
	mimeicon128.path = $$ICON_DIR/hicolor/128x128/mimetypes
	mimeiconsvg.files = data/scalable/application-x-eqonomize.svg
	mimeiconsvg.path = $$ICON_DIR/hicolor/scalable/mimetypes

	actioniconssvg.files = 	data/scalable/eqz-account.svg \
				data/scalable/eqz-liabilities.svg \
				data/scalable/eqz-expense.svg \
				data/scalable/eqz-income.svg \
				data/scalable/eqz-transfer.svg \
				data/scalable/eqz-refund-repayment.svg \
				data/scalable/eqz-debt-payment.svg \
				data/scalable/eqz-debt-interest.svg \
				data/scalable/eqz-security.svg \
				data/scalable/eqz-schedule.svg \
				data/scalable/eqz-split-transaction.svg \
				data/scalable/eqz-join-transactions.svg \
				data/scalable/eqz-export.svg \
				data/scalable/eqz-import.svg \
				data/scalable/eqz-edit.svg \
				data/scalable/eqz-tag.svg \
				data/scalable/eqz-balance.svg \
				data/scalable/eqz-ledger.svg \
				data/scalable/eqz-transactions.svg \
				data/scalable/eqz-previous-year.svg \
				data/scalable/eqz-previous-month.svg \
				data/scalable/eqz-next-month.svg \
				data/scalable/eqz-next-year.svg \
				data/scalable/eqz-categories-chart.svg \
				data/scalable/eqz-overtime-chart.svg \
				data/scalable/eqz-categories-report.svg \
				data/scalable/eqz-currency.svg \
				data/scalable/eqz-overtime-report.svg
	actioniconssvg.path = $$ICON_DIR/hicolor/scalable/actions
	actionicons16.files = 	data/16/eqz-account.png \
				data/16/eqz-liabilities.png \
				data/16/eqz-expense.png \
				data/16/eqz-income.png \
				data/16/eqz-transfer.png \
				data/16/eqz-refund-repayment.png \
				data/16/eqz-debt-payment.png \
				data/16/eqz-debt-interest.png \
				data/16/eqz-security.png \
				data/16/eqz-schedule.png \
				data/16/eqz-split-transaction.png \
				data/16/eqz-join-transactions.png \
				data/16/eqz-export.png \
				data/16/eqz-import.png \
				data/16/eqz-edit.png \
				data/16/eqz-tag.png \
				data/16/eqz-balance.png \
				data/16/eqz-ledger.png \
				data/16/eqz-transactions.png \
				data/16/eqz-previous-year.png \
				data/16/eqz-previous-month.png \
				data/16/eqz-next-month.png \
				data/16/eqz-next-year.png \
				data/16/eqz-categories-chart.png \
				data/16/eqz-overtime-chart.png \
				data/16/eqz-categories-report.png \
				data/16/eqz-currency.png \
				data/16/eqz-overtime-report.png
	actionicons16.path = $$ICON_DIR/hicolor/16x16/actions
	actionicons22.files = 	data/22/eqz-account.png \
				data/22/eqz-liabilities.png \
				data/22/eqz-expense.png \
				data/22/eqz-income.png \
				data/22/eqz-transfer.png \
				data/22/eqz-refund-repayment.png \
				data/22/eqz-debt-payment.png \
				data/22/eqz-debt-interest.png \
				data/22/eqz-security.png \
				data/22/eqz-schedule.png \
				data/22/eqz-split-transaction.png \
				data/22/eqz-join-transactions.png \
				data/22/eqz-export.png \
				data/22/eqz-import.png \
				data/22/eqz-edit.png \
				data/22/eqz-tag.png \
				data/22/eqz-balance.png \
				data/22/eqz-ledger.png \
				data/22/eqz-transactions.png \
				data/22/eqz-previous-year.png \
				data/22/eqz-previous-month.png \
				data/22/eqz-next-month.png \
				data/22/eqz-next-year.png \
				data/22/eqz-categories-chart.png \
				data/22/eqz-overtime-chart.png \
				data/22/eqz-categories-report.png \
				data/22/eqz-currency.png \
				data/22/eqz-overtime-report.png
	actionicons22.path = $$ICON_DIR/hicolor/22x22/actions
	actionicons32.files = 	data/32/eqz-account.png \
				data/32/eqz-liabilities.png \
				data/32/eqz-expense.png \
				data/32/eqz-income.png \
				data/32/eqz-transfer.png \
				data/32/eqz-refund-repayment.png \
				data/32/eqz-debt-payment.png \
				data/32/eqz-debt-interest.png \
				data/32/eqz-security.png \
				data/32/eqz-schedule.png \
				data/32/eqz-split-transaction.png \
				data/32/eqz-join-transactions.png \
				data/32/eqz-export.png \
				data/32/eqz-import.png \
				data/32/eqz-edit.png \
				data/32/eqz-tag.png \
				data/32/eqz-balance.png \
				data/32/eqz-ledger.png \
				data/32/eqz-transactions.png \
				data/32/eqz-previous-year.png \
				data/32/eqz-previous-month.png \
				data/32/eqz-next-month.png \
				data/32/eqz-next-year.png \
				data/32/eqz-categories-chart.png \
				data/32/eqz-overtime-chart.png \
				data/32/eqz-categories-report.png \
				data/32/eqz-currency.png \
				data/32/eqz-overtime-report.png
	actionicons32.path = $$ICON_DIR/hicolor/32x32/actions
	actionicons48.files = 	data/48/eqz-account.png \
				data/48/eqz-liabilities.png \
				data/48/eqz-expense.png \
				data/48/eqz-income.png \
				data/48/eqz-transfer.png \
				data/48/eqz-refund-repayment.png \
				data/48/eqz-debt-payment.png \
				data/48/eqz-debt-interest.png \
				data/48/eqz-security.png \
				data/48/eqz-schedule.png \
				data/48/eqz-split-transaction.png \
				data/48/eqz-join-transactions.png \
				data/48/eqz-export.png \
				data/48/eqz-import.png \
				data/48/eqz-edit.png \
				data/48/eqz-tag.png \
				data/48/eqz-balance.png \
				data/48/eqz-ledger.png \
				data/48/eqz-transactions.png \
				data/48/eqz-previous-year.png \
				data/48/eqz-previous-month.png \
				data/48/eqz-next-month.png \
				data/48/eqz-next-year.png \
				data/48/eqz-categories-chart.png \
				data/48/eqz-overtime-chart.png \
				data/48/eqz-categories-report.png \
				data/48/eqz-currency.png \
				data/48/eqz-overtime-report.png
	actionicons48.path = $$ICON_DIR/hicolor/48x48/actions
	actionicons64.files = 	data/64/eqz-account.png \
				data/64/eqz-liabilities.png \
				data/64/eqz-expense.png \
				data/64/eqz-income.png \
				data/64/eqz-transfer.png \
				data/64/eqz-refund-repayment.png \
				data/64/eqz-debt-payment.png \
				data/64/eqz-debt-interest.png \
				data/64/eqz-security.png \
				data/64/eqz-schedule.png \
				data/64/eqz-split-transaction.png \
				data/64/eqz-join-transactions.png \
				data/64/eqz-export.png \
				data/64/eqz-import.png \
				data/64/eqz-edit.png \
				data/64/eqz-tag.png \
				data/64/eqz-balance.png \
				data/64/eqz-ledger.png \
				data/64/eqz-transactions.png \
				data/64/eqz-previous-year.png \
				data/64/eqz-previous-month.png \
				data/64/eqz-next-month.png \
				data/64/eqz-next-year.png \
				data/64/eqz-categories-chart.png \
				data/64/eqz-overtime-chart.png \
				data/64/eqz-categories-report.png \
				data/64/eqz-currency.png \
				data/64/eqz-overtime-report.png
	actionicons64.path = $$ICON_DIR/hicolor/64x64/actions

	INSTALLS += 	target qm data doc desktop mime \ 
			appicon16 appicon22 appicon32 appicon64 appicon128 appiconsvg \
			mimeicon16 mimeicon22 mimeicon32 mimeicon48 mimeicon64 mimeicon128 mimeiconsvg \
			actionicons16 actionicons22 actionicons32 actionicons48 actionicons64 actioniconssvg
			
	!equals($$DESKTOP_ICON_DIR, $$ICON_DIR) {
		desktopappicon64.files = data/64/eqonomize.png
		desktopappicon64.path = $$DESKTOP_ICON_DIR/hicolor/64x64/apps
		INSTALLS += desktopappicon64
	}
	RESOURCES = flags.qrc
} else {
	RESOURCES = data.qrc doc.qrc flags.qrc icons.qrc translations.qrc
	target.path = $$PREFIX/bin
	desktop.files = data/eqonomize.desktop
	desktop.path = $$DESKTOP_DIR
	appicon64.files = data/64/eqonomize.png
	appicon64.path = $$DESKTOP_ICON_DIR/hicolor/64x64/apps
	INSTALLS += target desktop appicon64
}

unix:!android:!macx {
	man.files = data/eqonomize.1
	man.path = $$MAN_DIR/man1
	INSTALLS += man
}

win32: RC_FILE = winicon.rc