Line 0
Link Here
|
|
|
1 |
QMAKE_PROJECT_DEPTH = 0 |
2 |
|
3 |
TARGET = qtiplot |
4 |
TEMPLATE = app |
5 |
CONFIG += qt warn_on exceptions opengl |
6 |
CONFIG += thread |
7 |
CONFIG += release |
8 |
|
9 |
MOC_DIR = ../tmp/qtiplot |
10 |
OBJECTS_DIR = ../tmp/qtiplot |
11 |
DESTDIR = ./ |
12 |
DEFINES += QT_PLUGIN |
13 |
|
14 |
unix:INCLUDEPATH += $$(LOCALBASE)/include/qwt |
15 |
unix:INCLUDEPATH += $$(LOCALBASE)/include |
16 |
unix:INCLUDEPATH += $$(X11BASE)/include |
17 |
|
18 |
unix:LIBS += $$(QTDIR)/lib/libqassistantclient.a |
19 |
unix:LIBS += -L$$(LOCALBASE)/lib -lqwt -lgsl -lgslcblas -lorigin |
20 |
unix:LIBS += -L$$(X11BASE)/lib -lqwtplot3d |
21 |
unix:LIBS += -lz |
22 |
|
23 |
TRANSLATIONS = translations/qtiplot_de.ts \ |
24 |
translations/qtiplot_es.ts \ |
25 |
translations/qtiplot_fr.ts \ |
26 |
translations/qtiplot_ru.ts \ |
27 |
translations/qtiplot_sv.ts |
28 |
|
29 |
system($$(X11BASE)/bin/lupdate -verbose qtiplot.pro) |
30 |
system($$(X11BASE)/bin/lrelease -verbose qtiplot.pro) |
31 |
|
32 |
###################### HEADERS ############################################## |
33 |
HEADERS += src/application.h \ |
34 |
src/graph.h \ |
35 |
src/graph3D.h \ |
36 |
src/worksheet.h \ |
37 |
src/curvesDialog.h \ |
38 |
src/valuesDialog.h \ |
39 |
src/plotDialog.h \ |
40 |
src/plot3DDialog.h \ |
41 |
src/plotWizard.h \ |
42 |
src/exportDialog.h \ |
43 |
src/importDialog.h \ |
44 |
src/axesDialog.h \ |
45 |
src/pieDialog.h \ |
46 |
src/polynomFitDialog.h \ |
47 |
src/expDecayDialog.h \ |
48 |
src/functionDialog.h \ |
49 |
src/fitDialog.h \ |
50 |
src/surfaceDialog.h \ |
51 |
src/tableDialog.h \ |
52 |
src/textDialog.h \ |
53 |
src/lineDlg.h \ |
54 |
src/scalePicker.h \ |
55 |
src/canvaspicker.h \ |
56 |
src/ErrorBar.h \ |
57 |
src/pie.h \ |
58 |
src/errDlg.h \ |
59 |
src/LegendMarker.h \ |
60 |
src/LineMarker.h\ |
61 |
src/ImageMarker.h\ |
62 |
src/imageDialog.h \ |
63 |
src/fit.h \ |
64 |
src/nrutil.h\ |
65 |
src/pixmaps.h\ |
66 |
src/multilayer.h\ |
67 |
src/layerDialog.h \ |
68 |
src/intDialog.h \ |
69 |
src/sortDialog.h\ |
70 |
src/bars.h \ |
71 |
src/cones.h \ |
72 |
src/configDialog.h \ |
73 |
src/BarCurve.h \ |
74 |
src/BoxCurve.h \ |
75 |
src/Histogram.h \ |
76 |
src/VectorCurve.h \ |
77 |
src/scales.h \ |
78 |
src/imageExportDialog.h \ |
79 |
src/matrix.h \ |
80 |
src/matrixDialog.h \ |
81 |
src/matrixSizeDialog.h \ |
82 |
src/matrixValuesDialog.h \ |
83 |
src/analysisDialog.h \ |
84 |
src/parser.h \ |
85 |
src/colorBox.h \ |
86 |
src/symbolBox.h \ |
87 |
src/patternBox.h \ |
88 |
src/importOPJ.h\ |
89 |
src/symbolDialog.h \ |
90 |
src/plot.h \ |
91 |
src/colorButton.h \ |
92 |
src/associationsDialog.h \ |
93 |
src/renameWindowDialog.h \ |
94 |
src/widget.h \ |
95 |
src/interpolationDialog.h\ |
96 |
src/fileDialogs.h\ |
97 |
src/epsExportDialog.h\ |
98 |
src/smoothCurveDialog.h\ |
99 |
src/filterDialog.h\ |
100 |
src/fftDialog.h\ |
101 |
src/note.h\ |
102 |
src/folder.h\ |
103 |
src/findDialog.h\ |
104 |
src/Scripting.h\ |
105 |
src/scriptedit.h\ |
106 |
src/FunctionCurve.h\ |
107 |
src/Fitter.h\ |
108 |
src/customEvents.h\ |
109 |
src/ScriptingLangDialog.h\ |
110 |
src/ScriptWindow.h\ |
111 |
src/TableStatistics.h\ |
112 |
src/Spectrogram.h\ |
113 |
src/ColorMapEditor.h |
114 |
|
115 |
###################### SOURCES ############################################## |
116 |
|
117 |
SOURCES += src/application.cpp \ |
118 |
src/graph.cpp \ |
119 |
src/analysis.cpp \ |
120 |
src/graph3D.cpp \ |
121 |
src/worksheet.cpp \ |
122 |
src/valuesDialog.cpp \ |
123 |
src/curvesDialog.cpp \ |
124 |
src/plotDialog.cpp \ |
125 |
src/plot3DDialog.cpp \ |
126 |
src/plotWizard.cpp \ |
127 |
src/exportDialog.cpp \ |
128 |
src/importDialog.cpp \ |
129 |
src/axesDialog.cpp \ |
130 |
src/pieDialog.cpp \ |
131 |
src/polynomFitDialog.cpp \ |
132 |
src/tableDialog.cpp \ |
133 |
src/textDialog.cpp \ |
134 |
src/scalePicker.cpp \ |
135 |
src/canvaspicker.cpp \ |
136 |
src/expDecayDialog.cpp \ |
137 |
src/functionDialog.cpp \ |
138 |
src/fitDialog.cpp \ |
139 |
src/surfaceDialog.cpp \ |
140 |
src/lineDlg.cpp \ |
141 |
src/ErrorBar.cpp \ |
142 |
src/pie.cpp \ |
143 |
src/errDlg.cpp \ |
144 |
src/LegendMarker.cpp \ |
145 |
src/LineMarker.cpp \ |
146 |
src/ImageMarker.cpp\ |
147 |
src/imageDialog.cpp \ |
148 |
src/multilayer.cpp\ |
149 |
src/layerDialog.cpp \ |
150 |
src/intDialog.cpp \ |
151 |
src/sortDialog.cpp\ |
152 |
src/bars.cpp \ |
153 |
src/cones.cpp \ |
154 |
src/analysisDialog.cpp \ |
155 |
src/configDialog.cpp \ |
156 |
src/BarCurve.cpp \ |
157 |
src/BoxCurve.cpp \ |
158 |
src/Histogram.cpp \ |
159 |
src/VectorCurve.cpp \ |
160 |
src/imageExportDialog.cpp \ |
161 |
src/matrix.cpp \ |
162 |
src/matrixDialog.cpp \ |
163 |
src/matrixSizeDialog.cpp \ |
164 |
src/matrixValuesDialog.cpp \ |
165 |
src/parser.cpp\ |
166 |
src/colorBox.cpp \ |
167 |
src/symbolBox.cpp \ |
168 |
src/patternBox.cpp \ |
169 |
src/importOPJ.cpp\ |
170 |
src/main.cpp \ |
171 |
src/symbolDialog.cpp \ |
172 |
src/plot.cpp \ |
173 |
src/colorButton.cpp \ |
174 |
src/associationsDialog.cpp \ |
175 |
src/renameWindowDialog.cpp \ |
176 |
src/widget.cpp\ |
177 |
src/interpolationDialog.cpp\ |
178 |
src/epsExportDialog.cpp\ |
179 |
src/nrutil.cpp\ |
180 |
src/fit.cpp\ |
181 |
src/smoothCurveDialog.cpp\ |
182 |
src/filterDialog.cpp\ |
183 |
src/fftDialog.cpp\ |
184 |
src/note.cpp\ |
185 |
src/folder.cpp\ |
186 |
src/findDialog.cpp\ |
187 |
src/scriptedit.cpp\ |
188 |
src/fileDialogs.cpp\ |
189 |
src/scales.cpp\ |
190 |
src/FunctionCurve.cpp\ |
191 |
src/Fitter.cpp\ |
192 |
src/Scripting.cpp\ |
193 |
src/ScriptingLangDialog.cpp\ |
194 |
src/ScriptWindow.cpp\ |
195 |
src/TableStatistics.cpp\ |
196 |
src/Spectrogram.cpp\ |
197 |
src/ColorMapEditor.cpp |
198 |
|
199 |
SOURCES +=../3rdparty/zlib123/minigzip.c |
200 |
|
201 |
##################### SCRIPTING LANGUAGES SECTION ############# |
202 |
|
203 |
SCRIPTING_LANGS = muParser |
204 |
DEFINES += SCRIPTING_CONSOLE |
205 |
DEFINES += SCRIPTING_DIALOG |
206 |
|
207 |
# Python support is unstable; use at your own risk |
208 |
unix:SCRIPTING_LANGS += Python |
209 |
|
210 |
##################### Default: muParser ####################### |
211 |
contains(SCRIPTING_LANGS, muParser) { |
212 |
DEFINES += SCRIPTING_MUPARSER |
213 |
unix:LIBS += -lmuparser |
214 |
HEADERS += src/muParserScripting.h |
215 |
SOURCES += src/muParserScripting.cpp |
216 |
} |
217 |
|
218 |
##################### PYTHON + SIP + PyQT ##################### |
219 |
contains(SCRIPTING_LANGS, Python) { |
220 |
DEFINES += SCRIPTING_PYTHON |
221 |
HEADERS += src/PythonScripting.h |
222 |
SOURCES += src/PythonScripting.cpp |
223 |
|
224 |
SIP = $$(LOCALBASE)/bin/sip |
225 |
SIPINCLUDE = $$(LOCALBASE)/share/py-sip |
226 |
|
227 |
unix { |
228 |
INCLUDEPATH += $$(PYTHON_INCLUDEDIR) |
229 |
LIBS += -lm -l$$(PYTHON_VERSION) |
230 |
system(mkdir -p $${MOC_DIR}) |
231 |
unix:system($${SIP} -I $${SIPINCLUDE} -t Qt_3_3_0 -t WS_X11 -c $${MOC_DIR} src/qti.sip) |
232 |
} |
233 |
|
234 |
##################### SIP generated files ##################### |
235 |
HEADERS +=\ |
236 |
../tmp/qtiplot/sipqtiApplicationWindow.h\ |
237 |
../tmp/qtiplot/sipqtiGraph.h\ |
238 |
../tmp/qtiplot/sipqtiLineMarker.h\ |
239 |
../tmp/qtiplot/sipqtiMultiLayer.h\ |
240 |
../tmp/qtiplot/sipqtiTable.h\ |
241 |
../tmp/qtiplot/sipqtimyWidget.h\ |
242 |
../tmp/qtiplot/sipqtiScriptEdit.h\ |
243 |
../tmp/qtiplot/sipqtiNote.h\ |
244 |
../tmp/qtiplot/sipqtiFit.h\ |
245 |
../tmp/qtiplot/sipqtiExponentialFit.h\ |
246 |
../tmp/qtiplot/sipqtiTwoExpFit.h\ |
247 |
../tmp/qtiplot/sipqtiThreeExpFit.h\ |
248 |
../tmp/qtiplot/sipqtiSigmoidalFit.h\ |
249 |
../tmp/qtiplot/sipqtiGaussAmpFit.h\ |
250 |
../tmp/qtiplot/sipqtiLorentzFit.h\ |
251 |
../tmp/qtiplot/sipqtiNonLinearFit.h\ |
252 |
../tmp/qtiplot/sipqtiPluginFit.h\ |
253 |
../tmp/qtiplot/sipqtiMultiPeakFit.h\ |
254 |
../tmp/qtiplot/sipqtiPolynomialFit.h\ |
255 |
../tmp/qtiplot/sipqtiLinearFit.h\ |
256 |
../tmp/qtiplot/sipqtiMatrix.h\ |
257 |
../tmp/qtiplot/sipqtiGaussFit.h\ |
258 |
../tmp/qtiplot/sipqtiPythonScript.h\ |
259 |
../tmp/qtiplot/sipqtiFolder.h\ |
260 |
../tmp/qtiplot/sipqtiQPtrList.h |
261 |
SOURCES +=\ |
262 |
../tmp/qtiplot/sipqticmodule.cpp\ |
263 |
../tmp/qtiplot/sipqtiApplicationWindow.cpp\ |
264 |
../tmp/qtiplot/sipqtiGraph.cpp\ |
265 |
../tmp/qtiplot/sipqtiLineMarker.cpp\ |
266 |
../tmp/qtiplot/sipqtiMultiLayer.cpp\ |
267 |
../tmp/qtiplot/sipqtiTable.cpp\ |
268 |
../tmp/qtiplot/sipqtimyWidget.cpp\ |
269 |
../tmp/qtiplot/sipqtiScriptEdit.cpp\ |
270 |
../tmp/qtiplot/sipqtiNote.cpp\ |
271 |
../tmp/qtiplot/sipqtiFit.cpp\ |
272 |
../tmp/qtiplot/sipqtiExponentialFit.cpp\ |
273 |
../tmp/qtiplot/sipqtiTwoExpFit.cpp\ |
274 |
../tmp/qtiplot/sipqtiThreeExpFit.cpp\ |
275 |
../tmp/qtiplot/sipqtiSigmoidalFit.cpp\ |
276 |
../tmp/qtiplot/sipqtiGaussAmpFit.cpp\ |
277 |
../tmp/qtiplot/sipqtiLorentzFit.cpp\ |
278 |
../tmp/qtiplot/sipqtiNonLinearFit.cpp\ |
279 |
../tmp/qtiplot/sipqtiPluginFit.cpp\ |
280 |
../tmp/qtiplot/sipqtiMultiPeakFit.cpp\ |
281 |
../tmp/qtiplot/sipqtiPolynomialFit.cpp\ |
282 |
../tmp/qtiplot/sipqtiLinearFit.cpp\ |
283 |
../tmp/qtiplot/sipqtiMatrix.cpp\ |
284 |
../tmp/qtiplot/sipqtiGaussFit.cpp\ |
285 |
../tmp/qtiplot/sipqtiPythonScript.cpp\ |
286 |
../tmp/qtiplot/sipqtiFolder.cpp\ |
287 |
../tmp/qtiplot/sipqtiQPtrList.cpp |
288 |
} |