Lines 1-10
Link Here
|
1 |
--- ./qtiplot/qtiplot.pro.orig Sat Jul 14 14:56:13 2007 |
1 |
--- ./qtiplot/qtiplot.pro.orig 2007-09-20 15:55:53.000000000 +0400 |
2 |
+++ ./qtiplot/qtiplot.pro Sat Jul 14 15:01:25 2007 |
2 |
+++ ./qtiplot/qtiplot.pro 2007-09-23 01:11:43.000000000 +0400 |
3 |
@@ -25,12 +25,8 @@ |
3 |
@@ -30,12 +30,8 @@ |
4 |
#!!! Warning: You must modify these paths according to your computer settings |
4 |
#!!! Warning: You must modify these paths according to your computer settings |
5 |
############################################################################# |
5 |
############################################################################# |
6 |
|
6 |
|
7 |
-INCLUDEPATH += ../3rdparty/muParser |
7 |
-INCLUDEPATH += ../3rdparty/muparser/include |
8 |
-INCLUDEPATH += ../3rdparty/qwtplot3d/include |
8 |
-INCLUDEPATH += ../3rdparty/qwtplot3d/include |
9 |
-INCLUDEPATH += ../3rdparty/qwt/src |
9 |
-INCLUDEPATH += ../3rdparty/qwt/src |
10 |
-INCLUDEPATH += ../3rdparty/liborigin |
10 |
-INCLUDEPATH += ../3rdparty/liborigin |
Lines 15-91
Link Here
|
15 |
|
15 |
|
16 |
##################### 3rd PARTY LIBRARIES SECTION ########################### |
16 |
##################### 3rd PARTY LIBRARIES SECTION ########################### |
17 |
#!!! Warning: You must modify these paths according to your computer settings |
17 |
#!!! Warning: You must modify these paths according to your computer settings |
18 |
@@ -43,18 +39,17 @@ |
18 |
@@ -44,17 +40,13 @@ |
19 |
unix:LIBS += -L /usr/lib$${libsuff} |
19 |
##################### Linux (Mac OS X) ###################################### |
20 |
|
20 |
|
21 |
# statically link against Qwt(3D) in 3rdparty |
21 |
# statically link against libraries in 3rdparty |
|
|
22 |
-unix:LIBS += ../3rdparty/muparser/lib/libmuparser.a |
22 |
-unix:LIBS += ../3rdparty/qwtplot3d/lib/libqwtplot3d.a |
23 |
-unix:LIBS += ../3rdparty/qwtplot3d/lib/libqwtplot3d.a |
23 |
-unix:LIBS += ../3rdparty/qwt/lib/libqwt.a |
24 |
-unix:LIBS += ../3rdparty/qwt/lib/libqwt.a |
24 |
+unix:LIBS += -L$$(LOCALBASE)/lib -lqwt -lqwtplot3d-qt4 -lz |
|
|
25 |
# dynamically link against Qwt(3D) installed system-wide |
26 |
# WARNING: make sure they are compiled against Qt4 |
27 |
#unix:LIBS += -lqwtplot3d |
28 |
#unix:LIBS += -lqwt |
29 |
|
30 |
# statically link against GSL in 3rdparty |
31 |
-unix:LIBS += ../3rdparty/gsl/lib/libgsl.a |
25 |
-unix:LIBS += ../3rdparty/gsl/lib/libgsl.a |
32 |
-unix:LIBS += ../3rdparty/gsl/lib/libgslcblas.a |
26 |
-unix:LIBS += ../3rdparty/gsl/lib/libgslcblas.a |
33 |
+#unix:LIBS += ../3rdparty/gsl/lib/libgsl.a |
27 |
|
34 |
+#unix:LIBS += ../3rdparty/gsl/lib/libgslcblas.a |
28 |
# dynamically link against dependencies if they are installed system-wide |
35 |
#dynamically link against GSL installed system-wide |
29 |
#unix:LIBS += -lmuparser |
|
|
30 |
#unix:LIBS += -lqwtplot3d |
31 |
-#unix:LIBS += -lqwt |
36 |
-#unix:LIBS += -lgsl -lgslcblas |
32 |
-#unix:LIBS += -lgsl -lgslcblas |
|
|
33 |
+unix:LIBS += -lqwt |
37 |
+unix:LIBS += -lgsl -lgslcblas |
34 |
+unix:LIBS += -lgsl -lgslcblas |
|
|
35 |
+unix:LIBS += -L$$(LOCALBASE)/lib -lqwtplot3d-qt4 -lz |
38 |
|
36 |
|
39 |
##################### Windows ############################################### |
37 |
##################### Windows ############################################### |
40 |
|
38 |
|
41 |
@@ -359,30 +354,12 @@ |
39 |
@@ -363,6 +355,7 @@ |
|
|
40 |
##################### Default: muParser v1.28 ################# |
42 |
|
41 |
|
43 |
contains(SCRIPTING_LANGS, muParser) { |
42 |
contains(SCRIPTING_LANGS, muParser) { |
44 |
DEFINES += SCRIPTING_MUPARSER |
|
|
45 |
- |
46 |
+ unix:LIBS += -lmuparser |
43 |
+ unix:LIBS += -lmuparser |
47 |
HEADERS += src/muParserScript.h \ |
44 |
DEFINES += SCRIPTING_MUPARSER |
48 |
- src/muParserScripting.h \ |
|
|
49 |
- ../3rdparty/muParser/muParser.h \ |
50 |
- ../3rdparty/muParser/muParserBase.h \ |
51 |
- ../3rdparty/muParser/muParserInt.h \ |
52 |
- ../3rdparty/muParser/muParserError.h \ |
53 |
- ../3rdparty/muParser/muParserStack.h \ |
54 |
- ../3rdparty/muParser/muParserToken.h \ |
55 |
- ../3rdparty/muParser/muParserBytecode.h \ |
56 |
- ../3rdparty/muParser/muParserCallback.h \ |
57 |
- ../3rdparty/muParser/muParserTokenReader.h \ |
58 |
- ../3rdparty/muParser/muParserFixes.h \ |
59 |
- ../3rdparty/muParser/muParserDef.h \ |
60 |
+ src/muParserScripting.h |
61 |
|
62 |
SOURCES += src/muParserScript.cpp \ |
63 |
- src/muParserScripting.cpp \ |
64 |
- ../3rdparty/muParser/muParser.cpp \ |
65 |
- ../3rdparty/muParser/muParserBase.cpp \ |
66 |
- ../3rdparty/muParser/muParserInt.cpp \ |
67 |
- ../3rdparty/muParser/muParserBytecode.cpp \ |
68 |
- ../3rdparty/muParser/muParserCallback.cpp \ |
69 |
- ../3rdparty/muParser/muParserTokenReader.cpp \ |
70 |
- ../3rdparty/muParser/muParserError.cpp \ |
71 |
+ src/muParserScripting.cpp |
72 |
|
73 |
} |
74 |
|
45 |
|
75 |
@@ -394,11 +371,11 @@ |
46 |
HEADERS += src/muParserScript.h \ |
|
|
47 |
@@ -380,11 +373,11 @@ |
76 |
SOURCES += src/PythonScript.cpp src/PythonScripting.cpp |
48 |
SOURCES += src/PythonScript.cpp src/PythonScripting.cpp |
77 |
|
49 |
|
78 |
unix { |
50 |
unix { |
79 |
- INCLUDEPATH += $$system(python python-includepath.py) |
51 |
- INCLUDEPATH += $$system(python python-includepath.py) |
80 |
- LIBS += $$system(python -c "\"from distutils import sysconfig; print '-lpython'+sysconfig.get_config_var('VERSION')\"") |
52 |
- LIBS += $$system(python -c "\"from distutils import sysconfig; print '-lpython'+sysconfig.get_config_var('VERSION')\"") |
81 |
- LIBS += -lm |
53 |
- LIBS += -lm |
82 |
- system(mkdir -p $${SIP_DIR}) |
54 |
+ INCLUDEPATH += $$(PYTHON_INCLUDEDIR) |
|
|
55 |
+ LIBS += -lm -l$$(PYTHON_VERSION) |
56 |
system(mkdir -p $${SIP_DIR}) |
83 |
- system($$system(python python-sipcmd.py) -c $${SIP_DIR} src/qti.sip) |
57 |
- system($$system(python python-sipcmd.py) -c $${SIP_DIR} src/qti.sip) |
84 |
+ INCLUDEPATH += $$(PYTHON_INCLUDEDIR) |
58 |
+ SIPCMD = $$(PYTHON_VERSION) python-sipcmd.py |
85 |
+ LIBS += -lm -l$$(PYTHON_VERSION) |
59 |
+ system($$system($$SIPCMD) -c $${SIP_DIR} src/qti.sip) |
86 |
+ system(mkdir -p $${SIP_DIR}) |
|
|
87 |
+ SIPCMD = $$(PYTHON_VERSION) python-sipcmd.py |
88 |
+ system($$system($$SIPCMD) -c $${SIP_DIR} src/qti.sip) |
89 |
} |
60 |
} |
90 |
|
61 |
|
91 |
win32 { |
62 |
win32 { |