Lines 1-43
Link Here
|
1 |
--- ./qtiplot/qtiplot.pro.orig Fri Jun 8 00:55:33 2007 |
1 |
--- ./qtiplot/qtiplot.pro.orig Sat Jul 14 14:56:13 2007 |
2 |
+++ ./qtiplot/qtiplot.pro Fri Jun 8 00:58:19 2007 |
2 |
+++ ./qtiplot/qtiplot.pro Sat Jul 14 15:01:25 2007 |
3 |
@@ -17,24 +17,17 @@ |
3 |
@@ -25,12 +25,8 @@ |
4 |
|
|
|
5 |
# what to install and where |
6 |
INSTALLS += target |
7 |
-INSTALLS += documentation |
8 |
-unix: target.path = /usr/bin |
9 |
+#INSTALLS += documentation |
10 |
+unix: target.path = $$(PREFIX) |
11 |
unix: documentation.path = /usr/share/doc/qtiplot |
12 |
|
13 |
##################### 3rd PARTY HEADER FILES SECTION ######################## |
14 |
#!!! Warning: You must modify these paths according to your computer settings |
4 |
#!!! Warning: You must modify these paths according to your computer settings |
15 |
############################################################################# |
5 |
############################################################################# |
16 |
|
6 |
|
17 |
-INCLUDEPATH += ../3rdparty/muParser |
7 |
-INCLUDEPATH += ../3rdparty/muParser |
18 |
- |
|
|
19 |
-INCLUDEPATH += ../3rdparty/qwtplot3d/include |
8 |
-INCLUDEPATH += ../3rdparty/qwtplot3d/include |
20 |
-INCLUDEPATH += ../3rdparty/qwt/src |
9 |
-INCLUDEPATH += ../3rdparty/qwt/src |
21 |
-#INCLUDEPATH += /usr/include/qwtplot3d |
|
|
22 |
-#INCLUDEPATH += /usr/include/qwt5 |
23 |
- |
24 |
-INCLUDEPATH += ../3rdparty/liborigin |
10 |
-INCLUDEPATH += ../3rdparty/liborigin |
25 |
-INCLUDEPATH += ../3rdparty/gsl/include |
11 |
-INCLUDEPATH += ../3rdparty/gsl/include |
26 |
-INCLUDEPATH += ../3rdparty/zlib123/include |
12 |
-INCLUDEPATH += ../3rdparty/zlib123/include |
27 |
+unix:INCLUDEPATH += $$(LOCALBASE)/include |
|
|
28 |
+unix:INCLUDEPATH += $$(LOCALBASE)/include/qwt |
13 |
+unix:INCLUDEPATH += $$(LOCALBASE)/include/qwt |
29 |
+unix:INCLUDEPATH += $$(LOCALBASE)/include/qwtplot3d-qt4 |
14 |
+unix:INCLUDEPATH += $$(LOCALBASE)/include/qwtplot3d-qt4 |
30 |
|
15 |
|
31 |
##################### 3rd PARTY LIBRARIES SECTION ########################### |
16 |
##################### 3rd PARTY LIBRARIES SECTION ########################### |
32 |
#!!! Warning: You must modify these paths according to your computer settings |
17 |
#!!! Warning: You must modify these paths according to your computer settings |
33 |
@@ -47,18 +40,18 @@ |
18 |
@@ -43,18 +39,17 @@ |
34 |
unix:LIBS += -L /usr/lib$${libsuff} |
19 |
unix:LIBS += -L /usr/lib$${libsuff} |
35 |
|
20 |
|
36 |
# statically link against Qwt(3D) in 3rdparty |
21 |
# statically link against Qwt(3D) in 3rdparty |
37 |
-unix:LIBS += ../3rdparty/qwtplot3d/lib/libqwtplot3d.a |
22 |
-unix:LIBS += ../3rdparty/qwtplot3d/lib/libqwtplot3d.a |
38 |
-unix:LIBS += ../3rdparty/qwt/lib/libqwt.a |
23 |
-unix:LIBS += ../3rdparty/qwt/lib/libqwt.a |
39 |
+unix:LIBS += -L$$(LOCALBASE)/lib -lqwt -lqwtplot3d-qt4 -lorigin |
24 |
+unix:LIBS += -L$$(LOCALBASE)/lib -lqwt -lqwtplot3d-qt4 -lz |
40 |
+unix:LIBS += -lz -lmuparser |
|
|
41 |
# dynamically link against Qwt(3D) installed system-wide |
25 |
# dynamically link against Qwt(3D) installed system-wide |
42 |
# WARNING: make sure they are compiled against Qt4 |
26 |
# WARNING: make sure they are compiled against Qt4 |
43 |
#unix:LIBS += -lqwtplot3d |
27 |
#unix:LIBS += -lqwtplot3d |
Lines 54-91
Link Here
|
54 |
|
38 |
|
55 |
##################### Windows ############################################### |
39 |
##################### Windows ############################################### |
56 |
|
40 |
|
57 |
@@ -110,8 +103,8 @@ |
41 |
@@ -359,30 +354,12 @@ |
58 |
translations/qtiplot_ja.ts \ |
|
|
59 |
translations/qtiplot_sv.ts |
60 |
|
61 |
-#system(lupdate -verbose qtiplot.pro) |
62 |
-#system(lrelease -verbose qtiplot.pro) |
63 |
+system($$(LOCALBASE)/bin/lupdate-qt4 -verbose qtiplot.pro) |
64 |
+system($$(LOCALBASE)/bin/lrelease-qt4 -verbose qtiplot.pro) |
65 |
|
66 |
###################### DOCUMENTATION ######################################## |
67 |
|
68 |
@@ -350,8 +343,8 @@ |
69 |
################# Origin Import (liborigin) ################### |
70 |
############################################################### |
71 |
|
72 |
-HEADERS += ../3rdparty/liborigin/OPJFile.h |
73 |
-SOURCES += ../3rdparty/liborigin/OPJFile.cpp |
74 |
+#HEADERS += ../3rdparty/liborigin/OPJFile.h |
75 |
+#SOURCES += ../3rdparty/liborigin/OPJFile.cpp |
76 |
|
77 |
############################################################### |
78 |
##################### SCRIPTING LANGUAGES SECTION ############# |
79 |
@@ -361,30 +354,32 @@ |
80 |
|
42 |
|
81 |
contains(SCRIPTING_LANGS, muParser) { |
43 |
contains(SCRIPTING_LANGS, muParser) { |
82 |
DEFINES += SCRIPTING_MUPARSER |
44 |
DEFINES += SCRIPTING_MUPARSER |
83 |
- |
45 |
- |
84 |
+ |
46 |
+ unix:LIBS += -lmuparser |
85 |
+ unix:LIBS += -lmuparser |
|
|
86 |
+ |
87 |
HEADERS += src/muParserScript.h \ |
47 |
HEADERS += src/muParserScript.h \ |
88 |
src/muParserScripting.h \ |
48 |
- src/muParserScripting.h \ |
89 |
- ../3rdparty/muParser/muParser.h \ |
49 |
- ../3rdparty/muParser/muParser.h \ |
90 |
- ../3rdparty/muParser/muParserBase.h \ |
50 |
- ../3rdparty/muParser/muParserBase.h \ |
91 |
- ../3rdparty/muParser/muParserInt.h \ |
51 |
- ../3rdparty/muParser/muParserInt.h \ |
Lines 97-116
Link Here
|
97 |
- ../3rdparty/muParser/muParserTokenReader.h \ |
57 |
- ../3rdparty/muParser/muParserTokenReader.h \ |
98 |
- ../3rdparty/muParser/muParserFixes.h \ |
58 |
- ../3rdparty/muParser/muParserFixes.h \ |
99 |
- ../3rdparty/muParser/muParserDef.h \ |
59 |
- ../3rdparty/muParser/muParserDef.h \ |
100 |
+# ../3rdparty/muParser/muParser.h \ |
60 |
+ src/muParserScripting.h |
101 |
+# ../3rdparty/muParser/muParserBase.h \ |
|
|
102 |
+# ../3rdparty/muParser/muParserInt.h \ |
103 |
+# ../3rdparty/muParser/muParserError.h \ |
104 |
+# ../3rdparty/muParser/muParserStack.h \ |
105 |
+# ../3rdparty/muParser/muParserToken.h \ |
106 |
+# ../3rdparty/muParser/muParserBytecode.h \ |
107 |
+# ../3rdparty/muParser/muParserCallback.h \ |
108 |
+# ../3rdparty/muParser/muParserTokenReader.h \ |
109 |
+# ../3rdparty/muParser/muParserFixes.h \ |
110 |
+# ../3rdparty/muParser/muParserDef.h \ |
111 |
|
61 |
|
112 |
SOURCES += src/muParserScript.cpp \ |
62 |
SOURCES += src/muParserScript.cpp \ |
113 |
src/muParserScripting.cpp \ |
63 |
- src/muParserScripting.cpp \ |
114 |
- ../3rdparty/muParser/muParser.cpp \ |
64 |
- ../3rdparty/muParser/muParser.cpp \ |
115 |
- ../3rdparty/muParser/muParserBase.cpp \ |
65 |
- ../3rdparty/muParser/muParserBase.cpp \ |
116 |
- ../3rdparty/muParser/muParserInt.cpp \ |
66 |
- ../3rdparty/muParser/muParserInt.cpp \ |
Lines 118-134
Link Here
|
118 |
- ../3rdparty/muParser/muParserCallback.cpp \ |
68 |
- ../3rdparty/muParser/muParserCallback.cpp \ |
119 |
- ../3rdparty/muParser/muParserTokenReader.cpp \ |
69 |
- ../3rdparty/muParser/muParserTokenReader.cpp \ |
120 |
- ../3rdparty/muParser/muParserError.cpp \ |
70 |
- ../3rdparty/muParser/muParserError.cpp \ |
121 |
+# ../3rdparty/muParser/muParser.cpp \ |
71 |
+ src/muParserScripting.cpp |
122 |
+# ../3rdparty/muParser/muParserBase.cpp \ |
|
|
123 |
+# ../3rdparty/muParser/muParserInt.cpp \ |
124 |
+# ../3rdparty/muParser/muParserBytecode.cpp \ |
125 |
+# ../3rdparty/muParser/muParserCallback.cpp \ |
126 |
+# ../3rdparty/muParser/muParserTokenReader.cpp \ |
127 |
+# ../3rdparty/muParser/muParserError.cpp \ |
128 |
|
72 |
|
129 |
} |
73 |
} |
130 |
|
74 |
|
131 |
@@ -396,12 +391,12 @@ |
75 |
@@ -394,11 +371,11 @@ |
132 |
SOURCES += src/PythonScript.cpp src/PythonScripting.cpp |
76 |
SOURCES += src/PythonScript.cpp src/PythonScripting.cpp |
133 |
|
77 |
|
134 |
unix { |
78 |
unix { |
Lines 137-149
Link Here
|
137 |
- LIBS += -lm |
81 |
- LIBS += -lm |
138 |
- system(mkdir -p $${SIP_DIR}) |
82 |
- system(mkdir -p $${SIP_DIR}) |
139 |
- system($$system(python python-sipcmd.py) -c $${SIP_DIR} src/qti.sip) |
83 |
- system($$system(python python-sipcmd.py) -c $${SIP_DIR} src/qti.sip) |
140 |
- } |
|
|
141 |
+ INCLUDEPATH += $$(PYTHON_INCLUDEDIR) |
84 |
+ INCLUDEPATH += $$(PYTHON_INCLUDEDIR) |
142 |
+ LIBS += -lm -l$$(PYTHON_VERSION) |
85 |
+ LIBS += -lm -l$$(PYTHON_VERSION) |
143 |
+ system(mkdir -p $${SIP_DIR}) |
86 |
+ system(mkdir -p $${SIP_DIR}) |
144 |
+ SIPCMD = $$(PYTHON_VERSION) python-sipcmd.py |
87 |
+ SIPCMD = $$(PYTHON_VERSION) python-sipcmd.py |
145 |
+ system($$system($$SIPCMD) -c $${SIP_DIR} src/qti.sip) |
88 |
+ system($$system($$SIPCMD) -c $${SIP_DIR} src/qti.sip) |
146 |
+ } |
89 |
} |
147 |
|
90 |
|
148 |
win32 { |
91 |
win32 { |
149 |
INCLUDEPATH += $$system(call python-includepath.py) |
|
|