Compilation and Installation from sources
Prev | Appendix A. Installation | Next

## Compilation and Installation from sources

### Requirements

If you want to build QtiPlot from sources, you need the following libraries:

Qt (>= 4.2)

  QtiPlot works best with the 4.2.3 version of the Qt library

Qwt

  You must use the Qwt 5.0.2 library.

QwtPlot3D

  The 0.2.7 version of the QwtPlot3D library is used to create the 3D plots. The library and the include files must be available.

muParser

  The version of the muParser library used by QtiPlot is 1.28.

liborigin

  The last version of the liborigin allows to read OriginLab OPJ project files. It is included in QtiPlot ("3rdparty/liborigin" folder), so you don't need to download and install it.

GSL

  In order to build QtiPlot you also need the GSL library.

zlib

  For the compression of project files QtiPlot also uses the zlib library.

Finally, if you want Python scripting support, you will also need to download and install: Python 2.5, SIP, and PyQt v4. All three of them are included in many Linux distributions.

### Linux and Mac OS X

Download the qtiplot archive (.tar.bz2 or .zip file) and decompress it. Then open a terminal (console) window and go to the main folder of the decompressed archive (which should be named qtiplot-0.9.0). You must be sure that QtiPlot is able to find the third party libraries it depends on. You have to go to the qtiplot directory and open the file qtiplot.pro. As an example, the folowing line describes the path to the QwtPlot3D library header files which should be available for the compilation:

    unix:INCLUDEPATH  += ../3rdparty/qwtplot3d/include/

it should point to the correct directory. Once this is done, go back to the main directory qtiplot-0.9.0 and type:

    qmake qtiplot.pro
    make

to install QtiPlot, you must login as root and type:

    make install

You can then logout from root and launch the application:

    qtiplot

### Windows

If you want to compile the application from sources you need to download and install the the MinGW compiler, the only one supported by the Qt Open Source edition on Windows. Then you must proceed exactly as on Linux/Mac OS X systems, following the above indications.

Prev | Up | Next
Installation from binary packages | Home | Chapter 9. Frequently asked questions