aboutsummaryrefslogtreecommitdiffstats
path: root/doc/howto-build/setup-apiextractor.rst
blob: 3a662337afd0467d17bfe4e99b61e4b88493454d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49

.. _api-extractor:

**************
API Extractor
**************

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 <http://labs.trolltech.com/page/Projects/QtScript/Generator>`_
codebase.

Getting the sources
===================

* Download URL: http://www.pyside.org/downloads/

Build requirements
==================

+ CMake >= 2.6.0
+ Qt4.5 libraries and development headers >= 4.5.0
+ libboost-graph >= 1.38.0

Building and installing
=======================

To build and install just follow the generic cmake instructions in section
:ref:`cmake-primer`.

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