# Required libraries

These libraries are required to build and install PDF Editor:

qt3

Qt GUI Toolkit (Version 3.x)

Most linux distribution split libraries into two parts, binary (containing the library binaries) and development (containing headers and development tools). Also, in most linux distributions, the development libraries are not installed by default. For QT3 you will need the development version too. Name of the package is usually the same as name of the library binary package, suffixed by "-dev". (For example in ubuntu it is `libq3-mt-dev` for the development version, while the library binaries are named `libq3-mt`)

boost | Boost C++ Libraries (smart_ptr, iostreams)
xlib | X Window System libraries

Modified version of qsa library (Qt Script for Applications), version 1.1.5 is included in the source tree

If you have both Qt3 and Qt4 installed, you must have directory with Qt3 tools (`qmake`, etc...) before Qt4 in `PATH`. Pdf editor cannot be compiled with Qt Toolkit version 4.x.

We tested compiling with various g++ versions - 3.x and 4.x were fine, it may compile on older versions like 2.95, but it was not tested. Program uses extensively RTTI, so the compiler used to build the program must support it.

For building kernel tests, you need to have CPPunit installed

For rebuilding documentation from DocBook .xml files, `gmake` (GNU make) is required and you also need:

- For generating HTML : `xsltproc` from libxslt and docbook stylesheets

- For generating PDF : `xsltproc` from libxslt, docbook stylesheets and Apache FOP from http://xmlgraphics.apache.org/fop/

If some of the required dependencies is missing, documentation in appropriate format will not be generated. In distributed archive, HTML documentation is already generated.

For rebuilding programmer reference, doxygen is required.