-
Notifications
You must be signed in to change notification settings - Fork 8
/
mcercle.pro
162 lines (144 loc) · 3.68 KB
/
mcercle.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
# -------------------------------------------------
# mcercle - Logiciel de gestion libre
# -------------------------------------------------
# Test la version de Qt
#lessThan(QT_VERSION, 5.2) {
# error("mcercle fonctionne avec Qt 5.2 ou superieur!")
#}
QT += sql network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
TARGET = mcercle
TEMPLATE = app
CONFIG += ordered
INCLUDEPATH += src
#Fichier de translation
TRANSLATIONS = lang/mcercle_en.ts
# Liste des fichiers qui seront incorpores au binaire en tant que ressources
RESOURCES += ressources.qrc
# Description de l'installation
target.path = /usr/bin/
copyright.path = /usr/share/doc/mcercle/
copyright.files = License Changelog
desktop.path = /usr/share/applications/
desktop.files = art/mcercle.desktop art/logo/mcercle-logo-64.png
# Icon
win32 {
ICON = art/logo/mcercle.ico
}
macx {
ICON = art/logo/mcercle.icns
}
# L installation comprend la copie du binaire, du fichier LICENSE
INSTALLS += target desktop copyright
OTHER_FILES += \
Changelog.txt
# Sources
HEADERS += \
src/tax.h \
src/table.h \
src/settings.h \
src/services_commons.h \
src/services.h \
src/provider.h \
src/proposal.h \
src/productView.h \
src/productcategory.h \
src/product.h \
src/printc.h \
src/mainwindow.h \
src/invoice.h \
src/dialogwaiting.h \
src/dialogtax.h \
src/dialogsettings.h \
src/dialogservicesedit.h \
src/dialogservices.h \
src/dialogprovidersedit.h \
src/dialogproviders.h \
src/dialogproduct.h \
src/dialogprintchoice.h \
src/dialoginvoicelist.h \
src/dialoginvoice.h \
src/dialogcustomer.h \
src/dialogcategory.h \
src/dbase.h \
src/customerView.h \
src/customer.h \
src/board.h \
src/about.h \
src/mcercle.h \
src/update.h \
src/inout.h \
src/qcustomplot/qcustomplot.h \
src/update_db.h
win32 {
HEADERS += \
src/trymcercle.h \
src/activationView.h
}
SOURCES += \
src/tax.cpp \
src/table.cpp \
src/settings.cpp \
src/services_commons.cpp \
src/services.cpp \
src/provider.cpp \
src/proposal.cpp \
src/productView.cpp \
src/productcategory.cpp \
src/product.cpp \
src/printc.cpp \
src/mainwindow.cpp \
src/main.cpp \
src/invoice.cpp \
src/dialogwaiting.cpp \
src/dialogtax.cpp \
src/dialogsettings.cpp \
src/dialogservicesedit.cpp \
src/dialogservices.cpp \
src/dialogprovidersedit.cpp \
src/dialogproviders.cpp \
src/dialogproduct.cpp \
src/dialogprintchoice.cpp \
src/dialoginvoicelist.cpp \
src/dialoginvoice.cpp \
src/dialogcustomer.cpp \
src/dialogcategory.cpp \
src/dbase.cpp \
src/customerView.cpp \
src/customer.cpp \
src/board.cpp \
src/about.cpp \
src/update.cpp \
src/inout.cpp \
src/qcustomplot/qcustomplot.cpp \
src/update_db.cpp
win32 {
SOURCES += \
src/trymcercle.cpp \
src/activationView.cpp\
}
FORMS += \
src/productView.ui \
src/mainwindow.ui \
src/dialogwaiting.ui \
src/dialogtax.ui \
src/dialogsettings.ui \
src/dialogservicesedit.ui \
src/dialogservices.ui \
src/dialogprovidersedit.ui \
src/dialogproviders.ui \
src/dialogproduct.ui \
src/dialogprintchoice.ui \
src/dialoginvoicelist.ui \
src/dialoginvoice.ui \
src/dialogcustomer.ui \
src/dialogcategory.ui \
src/customerView.ui \
src/board.ui \
src/about.ui
win32 {
FORMS += \
src/activationview.ui\
}
DISTFILES += \
version.txt