The QtiPlot Handbook
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.4.0)

  QtiPlot only works with the 4.4.x versions of the Qt library.

Qwt

  You must use the slightly modified version of the Qwt 5.2 library shipped with QtiPlot in the "3rdparty/qwt" folder.

QwtPlot3D

  A modified version of the QwtPlot3D library is used to create the 3D plots. It is included in QtiPlot ("3rdparty/qwtplot3d" folder), so you don't need to install it separately.

muParser

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

liborigin2

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

BOOST C++ libraries

  liborigin depends on the BOOST C++ libraries (>= 1.33.0), so you need to download and install them separately.

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.

libpng

  For the export of 3D plots QtiPlot also uses the libpng 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.7.8). 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 Qwt library header files which should be available for the compilation:

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

it should point to the correct directory. Once this is done, go back to the main directory qtiplot-0.9.7.8 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 MinGWcompiler, 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 | Home | Next
Installation from binary packages | Up | Frequently asked questions