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:
- gzip -d qhacc-XX.tar.gz
- tar xvf qhacc-XX.tar
- cd qhacc-XX
- ./configure1
- make
- 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-mt link with multithreaded Qt [default=yes]
--enable-plugins build plugins [default=yes]
--enable-mysql build MySQL plugin [default=yes]
--enable-xml build xml plugin [default=yes]
--enable-qif build qif plugin [default=yes]
--enable-cliimp build cliimp plugin [default=yes]
--enable-cron build cron plugin [default=yes]
2: The make install command simply installs the binary in
/usr/local/qhacc/bin by default. These html files and other supporting
files are copied to /usr/local/qhacc/share/html. See the FAQ for more
information on installing to non-default locations.
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.