Introduction to QJson

QJson is a Qt-based library that maps JSON data to QVariant objects and vice versa.

This package is known to build and work properly using an LFS-7.7 platform.

This package is known to build using the gcc-5 compiler but has not been tested.

Package Information

QJson Dependencies


Qt-4.8.7 and CMake-3.3.1

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/qjson

Installation of QJson

Install QJson by running the following commands:

mkdir build &&
cd    build &&

      -DCMAKE_BUILD_TYPE=Release  \
      .. &&

This package does not contain a test suite.

Now, as the root user:

make install

Command Explanations

-DCMAKE_BUILD_TYPE=Release: This switch is used to build without debugging symbols and apply a higher level of compiler optimizations.


Installed Programs: none
Installed Library: libqjson.so
Installed Directory: $QT4DIR/include/json and $QT4DIR/lib/cmake/qjson

Short Descriptions


contains QJson API functions.

Last updated on 2015-05-12 23:45:36 +0000