INSTALL NOTES

If you like to compile qtiplot, don't forget first to download and install the Qt (>= 3.2.1), Qwt 4.2.0, QwtPlot3D and GSL libraries.
For building QtiPlot for Qt 3.x you need qmake, that is official part of Qt 3.x.

Linux
-----
QtiPlot distributes a binary Debian package and a RPM package for RadHat, Mandrake and SuSE distributions.
The RPM package was created on a Debian distribution.
To install on Linux Debian: download the package file qtiplot_0.x.x_i386.deb, then login as "root" and type:

dpkg -i qtiplot_0.x.x_i386.deb

To launch QtiPlot type:

/usr/bin/qtiplot&

or use the Gnome (or KDE, or whatever) 'Start Menu'->'Applications'->'Utilities'->QtiPlot.

To install the RPM package: download the file qtiplot-0.x.x-1.i386.rpm, then login as "root" and type:

rpm -i qtiplot-0.x.x-1.i386.rpm

For all the other Linux distributions:

1. Download the qtiplot archive and unzip it.
2. Modify the 'qtiplot.pro' file in order to set the INCLUDEPATH variable
to the 'include' directory of your local builds of Qwt and QwtPlot3D libraries.
3. Login as ROOT and copy all the files from the 'lib' directories
of your local builts of Qwt, QwtPlot3D and GSL libraries to the /usr/lib folder.
4. Open a terminal, go to the 'qtiplot' folder and type:

qmake qtiplot.pro
make
./qtiplot to launch the application!


Windows
--------
QtiPlot distributes a binary Win32 package. To install:

1. Download the qtiplot-0.x.x.exe file.
2. Open a Windows Explorer, double click on 'qtiplot-setup.exe' icon
and follow the installation instructions.

If you want to compile the application from sources you need to purchase the Qt3 official book, that comes with a CD containing a non commercial version of Qt 3.2.1.

1. Download the qtiplot archive and unzip it.
2. Modify the 'qtiplot.pro' file in order to set the INCLUDEPATH variable
to the 'include' directory of your local builds of Qwt and QwtPlot3D.
3. Modify the 'qtiplot.pro' file in order to set the LIBS variable, in the win32 section,
to the actual directories of your local build of Qwt, QwtPlot3D and GSL libraries.
The original file assumes that Qwt, QwtPlot3D and GSL are built in the 'C:/qwt/lib', 'C:/qwtplot3d/lib' and 'C:/gsl/lib' folders respectively.
4. Open a MS-DOS command terminal, go to the 'qtiplot' folder and type:

a) For MSVC users with nmake:

qmake qtiplot.pro
nmake

b) For Visual Studio users, qmake can also generate '.dsp' files.
All you need to do is:

qmake -tp vc qtiplot.pro

5. Then open the 'qtiplot.dsp' file, go to the 'Build' menu and chose 'Set active configuration...'.
Choose the "qtiplot-Win32 Release' project configuration and press OK. Press the 'F7' key to build the application.
The executable 'qtiplot.exe' file is in the 'Release' folder.