This repository has been archived by the owner on Mar 27, 2023. It is now read-only.
/
PiTres.pro
111 lines (87 loc) · 3.87 KB
/
PiTres.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
######################################################################
# Automatically generated by qmake (2.01a) Sat Mar 17 08:23:12 2012
######################################################################
# Enable debug?
#DEBUG = True
# Uncomment to use the FIO-Calculation method where each section may make a membership fee recommendation
DEFINES += "FIO"
# Comment out to send EMails
#DEFINES += "SMTP_DEBUG"
# Comment out to save EMails in a debug folder - each mail wi get a folder with all needed data inside.
# This takes affect only when you are in SMTP_DEBUG.
#DEFINES += "SMTP_SAVE_DEBUG"
# Global parameters
TEMPLATE = app
TARGET = PiTres
DEPENDPATH += .
INCLUDEPATH += . src
# Main sources
HEADERS += src/PiTres.h src/Userlist.h src/SentBills.h src/PaymentImport.h src/LDAPImport.h src/InvoiceWizard.h \
src/PaymentWizard.h src/Contributions.h src/BudgetView.h src/SectionEdit.h src/Donations.h src/DonationWizard.h src/Statistics.h
SOURCES += main.cpp src/PiTres.cpp src/Userlist.cpp src/SentBills.cpp src/PaymentImport.cpp src/LDAPImport.cpp src/InvoiceWizard.cpp \
src/PaymentWizard.cpp src/Contributions.cpp src/BudgetView.cpp src/SectionEdit.cpp src/Donations.cpp src/DonationWizard.cpp src/Statistics.cpp
# Data Objects
HEADERS += src/data/Person.h src/data/Invoice.h src/data/Reminder.h src/data/Section.h src/data/BudgetEntity.h src/data/Donation.h
SOURCES += src/data/Person.cpp src/data/Invoice.cpp src/data/Reminder.cpp src/data/Section.cpp src/data/BudgetEntity.cpp src/data/Donation.cpp
# Models
HEADERS += src/model/budget_BudgetEntityModel.h src/model/budget_TreeModel.h src/model/payment_PaymentImportModel.h src/model/invoice_InvoiceCreateModel.h
SOURCES += src/model/budget_BudgetEntityModel.cpp src/model/budget_TreeModel.cpp src/model/payment_PaymentImportModel.cpp src/model/invoice_InvoiceCreateModel.cpp
# Delegates
HEADERS += src/delegate/budget_BudgetEntityDelegate.h src/delegate/budget_TreeItemDelegate.h src/delegate/DateDelegate.h
SOURCES += src/delegate/budget_BudgetEntityDelegate.cpp src/delegate/budget_TreeItemDelegate.cpp src/delegate/DateDelegate.cpp
# Model-Items
HEADERS += src/item/budget_TreeItem.h src/item/payment_PaymentItem.h
SOURCES += src/item/budget_TreeItem.cpp src/item/payment_PaymentItem.cpp
# Helper Classes and Functions
HEADERS += src/helper/Formatter.h src/helper/XmlPdf.h src/helper/PdfElement.h src/helper/Smtp.h src/helper/FIOCalc.h src/helper/CatchKeyPress.h \
src/helper/ESRParser.h
SOURCES += src/helper/Formatter.cpp src/helper/XmlPdf.cpp src/helper/PdfElement.cpp src/helper/Smtp.cpp src/helper/FIOCalc.cpp src/helper/CatchKeyPress.cpp \
src/helper/ESRParser.cpp
# Forms
FORMS = forms/PiTres.ui forms/userlist.ui forms/sentbills.ui forms/paymentimport.ui forms/LDAPImport.ui \
forms/fromtodates.ui forms/settings.ui forms/dateform.ui forms/invoicewizard.ui \
forms/payment.ui forms/invoiceedit.ui forms/contributions.ui forms/budget.ui forms/editsections.ui \
forms/donations.ui forms/donation_import.ui forms/statistics.ui forms/invoiceexportcsv.ui \
forms/paymentimport_file.ui forms/missingpeople.ui
# Config
CONFIG += qt thread sql
RESOURCES += PiTres.qrc
QT = core gui network sql xml svg
OUT_PWD = build
# Translations
TRANSLATIONS = i18n/pitres_de.ts \
i18n/pitres_fr.ts \
i18n/pitres_it.ts
# Add special Platform-Dependant libraries and sources
win32 {
CONFIG += windows
#LIBS += -lldap -llber -lmagic
WIN32 = yes
}
unix {
LIBS += -lldap -llber -lmagic
}
macx {
}
# Include custom build
include(build.pri)
# enable debuging
!isEmpty(DEBUG) {
DEFINES += "DEBUG"
CONFIG += debug warn_on
CONFIG -= release
win32:debug {
CONFIG += console
}
macx:debug {
}
}
# Checking for SqLite
!isEmpty(USE_SQLITE) {
CONFIG += sqlite3
HEADERS +=
SOURCES +=
}
isEmpty(USE_SQLITE) {
warning("SqLite3 is needed if you want store data locally")
}