next up previous contents
Next: Usage Up: A tool to import/export Previous: Introduction   Contents

Installation

edfAnn is a program that has been built using Qt. So, to compile it, you will need to have this library installed. And you should know where it is located. In my system it is installed at /usr/lib/qt3. You would have to locate this directory in your system

First of all you have to download the sources. They can be downloaded in two different forms

They can be downloaded from the download page.

In Linux systems, after downloading the file we decompress the sources in this way

je@unit0:~/tmp/tutorial> tar zxvf edfAnn-0.1.tar.gz
edfAnn-0.1/
edfAnn-0.1/edf.cpp
...

je@unit0:~/tmp/tutorial> cd edfAnn-0.1/
je@unit0:~/tmp/tutorial/edfAnn-0.1>

Now we compile the sources (you have to know the location of Qt in your system). To do this we need qmake, a utility included in Qt that creates a Makefile

je@unit0:~/tmp/tutorial/edfAnn-0.1> export QTDIR=/usr/lib/qt3
je@unit0:~/tmp/tutorial/edfAnn-0.1> export PATH=$PATH:$QTDIR/bin

It is quite simple: we define the location and change the path to include the binary files needed by Qt

je@unit0:~/tmp/tutorial/edfAnn-0.1> qmake
je@unit0:~/tmp/tutorial/edfAnn-0.1> make
g++ -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0...

That's all; we have the program at the directory. We do not need further installation. In order to run the program we can make a link to a directory included in the path or you can create a link on the desktop.

The first tab of edfAnn is shown in figure 2.1

Figure 2.1: This is first tab of edfAnn
\includegraphics[width=12cm]{figures/figure1.eps}

And the second tab of edfAnn is shown in figure 2.2

Figure 2.2: This is second tab of edfAnn. Notice the tooltip below the first Text Line Edit
\includegraphics[width=12cm]{figures/figure2.eps}

Now let's speak briefly about the installation on Windows systems: you only have to click on the installer. This tutorial is aimed to Linux users but I hope that its contents could also be easily understood by Windows users.


next up previous contents
Next: Usage Up: A tool to import/export Previous: Introduction   Contents
je 2006-10-13