Compiling QHacc

QHacc uses the standard gnu autoconf and automake tools, so it should be relatively easy to get up and running quickly. The instructions below provide step-by-step guidance for compilng QHacc assuming you have downloaded the sourcecode to the /tmp directory.

To install QHacc:

  1. gzip -d qhacc-XX.tar.gz
  2. tar xvf qhacc-XX.tar
  3. cd qhacc-XX
  4. ./configure1
  5. make
  6. make install2
1: The configure script has a few QHacc-specific options included. They are:
  --with-qt-moc=DIR       qt-moc in DIR
  --with-qt-libs=DIR      qt-libs in DIR
  --with-qt-includes=DIR  qt-includes in DIR
  --enable-debug          creates debugging code [default=no]
  --enable-graphs         graphing and reporting support [default=yes]
  --enable-market         include support for market accounts [default=yes]

2: The make install command simply installs the binary in /usr/local/bin by default. The supporting files are left where they were extracted, so they must be manually moved elsewhere for safe-keeping. This includes this very manual and everything in the /contrib directory.


If you have trouble compiling QHacc, please make sure you have a recent version of the Qt libraries installed. QTDIR does not necessarily have to be set, but if not, please use the --with-qt-XX options. Otherwise, see the documentation included with Qt for instructions on compiling that program.