summaryrefslogtreecommitdiffstats
path: root/src/libcommuni/INSTALL
blob: 358a7993f74ea316d2ec7f882dd4432d12a5aad2 (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
1. qmake
2. make
3. sudo make install
4. CONFIG += communi
5. enjoy!

Build config
------------
The default build config is resolved by qmake. To build Communi
specifically in release or debug mode, you may pass additional
"-config release" or "-config debug" parameters to qmake, respectively.
Furthermore, in order to build a static version of Communi, you
may pass "-config static".

uchardet vs. ICU
----------------
The default encoding detection backend is uchardet. It is bundled
with Communi and therefore requires no special build configuration.
In order to configure Communi with the ICU encoding detection backend,
pass "-config icu" parameters to qmake. This requires that the ICU
libraries are installed on the system.

Example
-------
A static library in release mode:
qmake -config static -config release