Author: Thomas Ott

## Compiling QFitsView

If you want to compile QFitsView yourself, grab the qfitsview_src.tgz file. Priour to compiling QFitsView itself, you have to compile support libraries which are used by QFitsView (the link in the following list points to where you can get the library):

- FFTW - the Fastest Fourier Transform in the West. DPUSER uses version 2.1.5, not the 3.x series!
- QT - The platform-independent user interface. QFitsView uses version 3.3.1 or higher, but not version 4.x
- QWT plotting widgets.
- GSL - The GNU Scientific Library.

These are the steps for a UNIX system. Replace `QFITSVIEWDIR` by the directory name where you extracted the qfitsview_src.tgz archive (in step 2):

1. Compile the above mentioned support libraries, or make sure you know where they are on your system (FFTW, QT, QWT, GSL).
2. Unpack the QFitsView source archive:
   `tar -xvzf qfitsview_src.tgz`
3. Create two additional directories:
   `mkdir QFITSVIEWDIR/lib
   mkdir QFITSVIEWDIR/include` I usually copy the include files and libraries for GSL, FFTW, and QWT into these directories, but this is not necessary.
4. Change to the QFitsView directory:
   `cd QFitsView`
   Edit the `QFitsView.pro` file. The important bits are the location of include files and libraries, i.e. sections INCLUDEPATH and LIBS.
   Now compile QFitsView itself:
   `qmake`
   `make`