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):

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