summaryrefslogtreecommitdiff
blob: 92495316e88a2745c9e8c0700d07ec40f516f23d (plain)
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
diff --git a/build.conf.example b/build.conf.example
index 2afcee7..2dd7e05 100755
--- a/build.conf.example
+++ b/build.conf.example
@@ -7,30 +7,29 @@ isEmpty( QTI_ROOT ) {
 ##########################################################
 
 # Global include path which is always added at the end of the INCLUDEPATH
-SYS_INCLUDEPATH = /opt/local/include
+SYS_INCLUDEPATH = /usr/include
 # Global lib path and libs which is ls always added at the end of LIBS
-SYS_LIBS = -L/opt/local/lib
+SYS_LIBS = -L/usr/GENTOOLIB
 
 ##########################################################
 ## muParser (http://muparser.sourceforge.net/)
 ##########################################################
 
 # include path. leave it blank to use SYS_INCLUDE
-MUPARSER_INCLUDEPATH = $$QTI_ROOT/3rdparty/muparser/include
+MUPARSER_INCLUDEPATH = $$system(pkg-config --cflags muparser)
 # link statically against a copy in 3rdparty/
-MUPARSER_LIBS = $$QTI_ROOT/3rdparty/muparser/lib/libmuparser.a
+#MUPARSER_LIBS = $$QTI_ROOT/3rdparty/muparser/lib/libmuparser.a
 # or dynamically against a system-wide installation
-#MUPARSER_LIBS = -lmuparser
+MUPARSER_LIBS = $$system(pkg-config --libs muparser)
 
 ##########################################################
 ## GNU Sientific Library (http://www.gnu.org/software/gsl/)
 ##########################################################
 
 # include path. leave it blank to use SYS_INCLUDE
-GSL_INCLUDEPATH = $$QTI_ROOT/3rdparty/gsl/include
+GSL_INCLUDEPATH = $$system(pkg-config --cflags gsl)
 # link statically against a copy in 3rdparty/
-GSL_LIBS = $$QTI_ROOT/3rdparty/gsl/lib/libgsl.a \
-           $$QTI_ROOT/3rdparty/gsl/lib/libgslcblas.a
+GSL_LIBS = $$system(pkg-config --libs gsl)
 # or dynamically against a system-wide installation
 #GSL_LIBS = -lgsl -lgslcblas
 
@@ -39,14 +38,14 @@ GSL_LIBS = $$QTI_ROOT/3rdparty/gsl/lib/libgsl.a \
 ##########################################################
 
 # include path. leave it blank to use SYS_INCLUDE
-BOOST_INCLUDEPATH = $$QTI_ROOT/3rdparty/boost
+BOOST_INCLUDEPATH = /usr/include/boost
 # link statically against a copy in 3rdparty/
-unix: BOOST_LIBS = $$QTI_ROOT/3rdparty/boost/lib/libboost_date_time-gcc43-mt-1_38.a \
-				   $$QTI_ROOT/3rdparty/boost/lib/libboost_thread-gcc43-mt-1_38.a
-win32:BOOST_LIBS = $$QTI_ROOT/3rdparty/boost/lib/libboost_date_time-mgw34-mt.lib \
-				   $$QTI_ROOT/3rdparty/boost/lib/libboost_thread-mgw34-mt.lib
+#unix: BOOST_LIBS = $$QTI_ROOT/3rdparty/boost/lib/libboost_date_time-gcc43-mt-1_38.a \
+#				   $$QTI_ROOT/3rdparty/boost/lib/libboost_thread-gcc43-mt-1_38.a
+#win32:BOOST_LIBS = $$QTI_ROOT/3rdparty/boost/lib/libboost_date_time-mgw34-mt.lib \
+#				   $$QTI_ROOT/3rdparty/boost/lib/libboost_thread-mgw34-mt.lib
 # or dynamically against a system-wide installation
-#BOOST_LIBS = -lboost_date_time-mt -lboost_thread-mt
+BOOST_LIBS = -lboost_date_time-mt -lboost_thread-mt
 
 ##########################################################
 ## QWT - use local copy till upstream catches up
@@ -55,8 +54,10 @@ win32:BOOST_LIBS = $$QTI_ROOT/3rdparty/boost/lib/libboost_date_time-mgw34-mt.lib
 
 # include path.
 QWT_INCLUDEPATH = $$QTI_ROOT/3rdparty/qwt/src
+#QWT_INCLUDEPATH = /usr/include/qwt5
 # link locally against a copy in 3rdparty/
 QWT_LIBS = $$QTI_ROOT/3rdparty/qwt/lib/libqwt.a
+#QWT_LIBS = -lqwt
 
 ###########################################################
 ## libxls - optional. you don't have to set these variables
@@ -64,9 +65,9 @@ QWT_LIBS = $$QTI_ROOT/3rdparty/qwt/lib/libqwt.a
 ###########################################################
 
 # include path.
-XLS_INCLUDEPATH = $$QTI_ROOT/3rdparty/libxls/include/
+XLS_INCLUDEPATH = /usr/include/libxls/
 # link locally against a copy in 3rdparty/
-XLS_LIBS = $$QTI_ROOT/3rdparty/libxls/lib/libxlsreader.a
+#XLS_LIBS = -lxlsreader
 
 ###########################################################
 ## QuaZIP - optional. you don't have to set these variables
@@ -74,20 +75,20 @@ XLS_LIBS = $$QTI_ROOT/3rdparty/libxls/lib/libxlsreader.a
 ###########################################################
 
 # include path.
-QUAZIP_INCLUDEPATH = $$QTI_ROOT/3rdparty/quazip/quazip/
+QUAZIP_INCLUDEPATH = /usr/include/quazip/
 # link locally against a copy in 3rdparty/
-QUAZIP_LIBS = $$QTI_ROOT/3rdparty/quazip/lib/libquazip.a
+#QUAZIP_LIBS = -lquazip
 
 ##########################################################
 ## libpng - optional. you don't have to set these variables
 ##########################################################
 
 # include path. leave it blank to use SYS_INCLUDE
-LIBPNG_INCLUDEPATH = $$QTI_ROOT/3rdparty/libpng/
+LIBPNG_INCLUDEPATH = /usr/include/libpng12
 # link statically against a copy in 3rdparty/
-LIBPNG_LIBS = $$QTI_ROOT/3rdparty/libpng/libpng.a
+#LIBPNG_LIBS = $$QTI_ROOT/3rdparty/libpng/libpng.a
 # or dynamically against a system-wide installation
-#LIBPNG_LIBS = -lpng
+LIBPNG_LIBS = $$system(pkg-config --libs libpng)
 
 ##########################################################
 ## EmfEngine - optional. you don't have to set these variables
@@ -95,9 +96,17 @@ LIBPNG_LIBS = $$QTI_ROOT/3rdparty/libpng/libpng.a
 ##########################################################
 
 # include path.
-EMF_ENGINE_INCLUDEPATH = $$QTI_ROOT/3rdparty/EmfEngine/src
+EMF_ENGINE_INCLUDEPATH = /usr/include/
 # link locally against a copy in 3rdparty/
-EMF_ENGINE_LIBS = $$QTI_ROOT/3rdparty/EmfEngine/libEmfEngine.a
+#EMF_ENGINE_LIBS = -lEmfEngine
+
+############################################################
+##  liborigin
+############################################################
+
+LIB_ORIGIN_INCLUDEPATH = /usr/include/liborigin2
+
+LIB_ORIGIN_LIBS = -lorigin2
 
 ##########################################################
 ## python - only used if python is needed
@@ -133,7 +142,7 @@ contains( TARGET, qtiplot ) {
   #DEFINES         += QTIPLOT_SUPPORT
 
   # Uncomment the following line if you want to perform a custom installation using the *.path variables defined in ./qtiplot.pro.
-  #CONFIG          += CustomInstall
+  CONFIG          += CustomInstall
 
   # Uncomment the following line if you want to build QtiPlot as a browser plugin (not working on Internet Explorer).
   #CONFIG          += BrowserPlugin