Lines 1-6
Link Here
|
1 |
--- ./qtiplot/qtiplot.pro.orig 2007-11-14 20:19:55.000000000 +0300 |
1 |
--- ./qtiplot/qtiplot.pro.orig 2008-03-29 10:43:50.000000000 +0300 |
2 |
+++ ./qtiplot/qtiplot.pro 2007-11-14 20:19:55.000000000 +0300 |
2 |
+++ ./qtiplot/qtiplot.pro 2008-03-29 10:46:00.000000000 +0300 |
3 |
@@ -34,12 +34,8 @@ |
3 |
@@ -45,12 +45,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 |
|
Lines 15-21
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 |
@@ -48,17 +44,13 @@ |
18 |
@@ -59,17 +55,13 @@ |
19 |
##################### Linux (Mac OS X) ###################################### |
19 |
##################### Linux (Mac OS X) ###################################### |
20 |
|
20 |
|
21 |
# statically link against libraries in 3rdparty |
21 |
# statically link against libraries in 3rdparty |
Lines 36-42
Link Here
|
36 |
|
36 |
|
37 |
##################### Windows ############################################### |
37 |
##################### Windows ############################################### |
38 |
|
38 |
|
39 |
@@ -400,6 +392,7 @@ |
39 |
@@ -124,8 +116,8 @@ |
|
|
40 |
translations/qtiplot_ja.ts \ |
41 |
translations/qtiplot_sv.ts |
42 |
|
43 |
-system(lupdate -verbose qtiplot.pro) |
44 |
-system(lrelease -verbose qtiplot.pro) |
45 |
+#system(lupdate -verbose qtiplot.pro) |
46 |
+#system(lrelease -verbose qtiplot.pro) |
47 |
|
48 |
translations.files += translations/qtiplot_de.qm \ |
49 |
translations/qtiplot_es.qm \ |
50 |
@@ -435,6 +427,7 @@ |
40 |
##################### Default: muParser v1.28 ################# |
51 |
##################### Default: muParser v1.28 ################# |
41 |
|
52 |
|
42 |
contains(SCRIPTING_LANGS, muParser) { |
53 |
contains(SCRIPTING_LANGS, muParser) { |
Lines 44-58
Link Here
|
44 |
DEFINES += SCRIPTING_MUPARSER |
55 |
DEFINES += SCRIPTING_MUPARSER |
45 |
|
56 |
|
46 |
HEADERS += src/muParserScript.h \ |
57 |
HEADERS += src/muParserScript.h \ |
47 |
@@ -417,11 +410,11 @@ |
58 |
@@ -461,11 +454,12 @@ |
48 |
SOURCES += src/PythonScript.cpp src/PythonScripting.cpp |
59 |
SOURCES += src/PythonScript.cpp src/PythonScripting.cpp |
49 |
|
60 |
|
50 |
unix { |
61 |
unix { |
51 |
- INCLUDEPATH += $$system(python python-includepath.py) |
62 |
- INCLUDEPATH += $$system(python python-includepath.py) |
52 |
- LIBS += $$system(python -c "\"from distutils import sysconfig; print '-lpython'+sysconfig.get_config_var('VERSION')\"") |
63 |
- LIBS += $$system(python -c "\"from distutils import sysconfig; print '-lpython'+sysconfig.get_config_var('VERSION')\"") |
53 |
- LIBS += -lm |
|
|
54 |
+ INCLUDEPATH += $$(PYTHON_INCLUDEDIR) |
64 |
+ INCLUDEPATH += $$(PYTHON_INCLUDEDIR) |
55 |
+ LIBS += -lm -l$$(PYTHON_VERSION) |
65 |
+ LIBS += -l$$(PYTHON_VERSION) |
|
|
66 |
LIBS += -lm |
56 |
system(mkdir -p $${SIP_DIR}) |
67 |
system(mkdir -p $${SIP_DIR}) |
57 |
- system($$system(python python-sipcmd.py) -c $${SIP_DIR} src/qti.sip) |
68 |
- system($$system(python python-sipcmd.py) -c $${SIP_DIR} src/qti.sip) |
58 |
+ SIPCMD = $$(PYTHON_VERSION) python-sipcmd.py |
69 |
+ SIPCMD = $$(PYTHON_VERSION) python-sipcmd.py |