This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
Installing QJson |
| 2 |
-------------- |
| 3 |
|
| 4 |
QJson requires: |
| 5 |
- Qt 4.0 or greater |
| 6 |
- cmake 2.6 or greater |
| 7 |
|
| 8 |
Some possible cmake options: |
| 9 |
-DCMAKE_BUILD_TYPE=DEBUG |
| 10 |
enables some debug output (other than making easier to debug the code) |
| 11 |
-DQJSON_BUILD_TESTS=yes or -DKDE4_BUILD_TESTS=yes |
| 12 |
builds the unit tests |
| 13 |
-DCMAKE_INSTALL_PREFIX=${HOME}/testinstall |
| 14 |
install qjson in a custom directory |
| 15 |
-DCMAKE_INCLUDE_PATH=${HOME}/testinstall/include |
| 16 |
include a custom include directory |
| 17 |
-DCMAKE_LIBRARY_PATH=${HOME}/testinstall/lib |
| 18 |
include a custom library directory |
| 19 |
-DLIB_DESTINATION=lib64 |
| 20 |
if you have a 64 bit system with separate libraries for 64 bit libraries |
| 21 |
-DQJSON_VERBOSE_DEBUG_OUTPUT:BOOL=ON |
| 22 |
more debugging statements are generated by the parser. It's useful only if you are trying to fix the bison grammar. |
| 23 |
|
| 24 |
For Unix/Linux/Mac: |
| 25 |
mkdir build |
| 26 |
cd build |
| 27 |
cmake -DCMAKE_INSTALL_PREFIX=_preferred_path_ .. |
| 28 |
make |
| 29 |
make install |
| 30 |
/sbin/ldconfig, if necessary |
| 31 |
|
| 32 |
For Mac: |
| 33 |
It's possible to build qjson as an OS X framework using the OSX_FRAMEWORK option. |
| 34 |
|
| 35 |
For Symbian: |
| 36 |
Read this page: http://qjson.sourceforge.net/get_it/symbian.html |
| 37 |
|
| 38 |
For Windows: |
| 39 |
Read this page: http://qjson.sourceforge.net/get_it/windows.html |
| 40 |
|
| 41 |
Please report problems to: |
| 42 |
https://lists.sourceforge.net/mailman/listinfo/qjson-devel |