Binary packages
QJson is already packaged by the major linux distributions.
If you are using openSUSE you can install QJson using 1click install:
Source code
QJson code is hosted on gitorious. You can download latest version using the following command:
git clone git://gitorious.org/qjson/qjson.git
Read the usage section for more details.
Otherwise you can download source tarballs here.
Building from sources
These are QJson requirements:
- Qt libraries 4.0 or greater
- cmake 2.6 or greater
Unix environment
After extracting the source code type the following commands:
mkdir build
cd build
cmake ..
make
sudo make install
Windows environment (MinGw)
In order to fullfill the requirements you have to install:
After having installed both Qt and cmake add the following line at the end of qtenv.bat (it can be found under C:\Qt\
set PATH=%PATH%;C:\path_to_cmake_\bin
Open the Qt Command Prompt, go to the directory where you have extracted QJson sources and do:
mkdir build
cd build
cmake -G "MinGw Makefiles" ..
mingw32-make
mingw32-make install
Now you will find libqjson.dll under the build\lib directory.
If you are new to Qt development download this simple qmake-based project. You will need the QtCreator IDE.