aboutsummaryrefslogtreecommitdiffstats
path: root/optional/README.md
blob: 2c5af5d0c4ba53af37a8643f4413bad172e208ca (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
# Optional Bindings

This directory contains all optional bindings for QtCreator
Modules that are bundled with this plugin.

Optional bindings come in the form of dynamically loaded libraries,
each binding has its own folder. The template directory contains files
that are shared for each binding.

## Documentation

### Building
If your environment is setup correctly (i.e. you can build the Python Extensions plugin), all that
you should need to do is run:

```
python setup.py --qmake=/path/to/your/qmake
```

and the optional bindings should build and be installed. To clean the build files after a build,
just run:

```
python setup.py clean
```

For problems and possible solutions, please refer to the main `README.md`.

### Writing optional binding libraries
**NOTICE:** Please refer to the `pyutil.h` header file for anything that is not explained
here.

Each library project here must include a `binding.cpp` file which must implement
a function with the signature `void bind();`.