2.2. API Extractor

2.2.1. Overview

The API Extractor library is used by the binding generator to parse the header and typesystem files to create an internal representation of the API. It is based on the QtScriptGenerator codebase.

2.2.2. Getting the sources

2.2.3. Build requirements

  • Qt4.5 development headers and libraries >= 4.5.0
  • libboost-graph >= 1.38.0
  • cmake >= 2.6.0

2.2.4. Building and installing

To build and install just follow the generic cmake instructions in section CMake primer.

2.2.5. Debian packaging

In order to compile this package in a debian environment, make sure the following packages are installed:

  • debhelper (>= 5)
  • cdbs
  • cmake (>= 2.6.0)
  • libboost-graph1.38-dev (>= 1.38.0)
  • libqt4-dev (>= 4.5)

And then you can build the package using:

$ dpkg-buildpackage -rfakeroot