1
At it's most basic, you can build and install FastCgiQt like this:
2
3
cd FastCgiQt
4
mkdir build
5
cd build
6
cmake ..
7
make -j5
8
sudo make install
9
10
Currently, this will build and install FastCgiQt with core and database support, but
11
not with XSLT or memcached support.
12
13
DATABASE SUPPORT
14
----------------
15
16
By default, FastCgiQt builds with database support (the FastCgiQt::Database class).
17
This can be disabled by passing WITH_SQL_SUPPORT=OFF to cmake, like so:
18
19
cmake . -DWITH_SQL_SUPPORT=OFF
20
21
XSLT SUPPORT
22
------------
23
24
If you are building against Qt 4.5 or later, you can enable the FastCgiQt::XsltService
25
class by passing WITH_XSLT_SUPPORT=ON to cmake, like so:
26
27
cmake . -DWITH_XSLT_SUPPORT=ON
28
29
MEMCACHED SUPPORT
30
-----------------
31
32
Memcached is a very high-performance distributed caching system.
33
34
If libmemcached is installed, you can enable support for it like so:
35
36
cmake . -DWITH_MEMCACHED_SUPPORT=ON
37
38
See the file "CONFIGURATION" for information on how to use this.