[f837bd2] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY qjson-download-http "http://downloads.sourceforge.net/qjson/qjson-&qjson-version;.tar.bz2">
|
---|
| 8 | <!ENTITY qjson-download-ftp " ">
|
---|
| 9 | <!ENTITY qjson-md5sum "323fbac54a5a20c0b8fe45c1ced03e2d">
|
---|
| 10 | <!ENTITY qjson-size "64 KB">
|
---|
| 11 | <!ENTITY qjson-buildsize "1.4 MB">
|
---|
| 12 | <!ENTITY qjson-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="qjson" xreflabel="QJson-&qjson-version;">
|
---|
| 16 | <?dbhtml filename="qjson.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>QJson-&qjson-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="qjson">
|
---|
| 22 | <primary sortas="a-QJson">QJson</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to QJson</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
| 29 | <application>QJson</application> is a Qt-based library that maps JSON
|
---|
| 30 | data to QVariant objects and vice versa.
|
---|
| 31 | </para>
|
---|
| 32 |
|
---|
[7a34460d] | 33 | &lfs79_checked;
|
---|
[f837bd2] | 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&qjson-download-http;"/>
|
---|
| 40 | </para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&qjson-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download MD5 sum: &qjson-md5sum;
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download size: &qjson-size;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Estimated disk space required: &qjson-buildsize;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated build time: &qjson-time;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
[4df53b44] | 69 | <bridgehead renderas="sect3">QJson Dependencies</bridgehead>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 72 | <para role="required">
|
---|
[7af92fe5] | 73 | <xref linkend="qt4"/> and
|
---|
[4df53b44] | 74 | <xref linkend="cmake"/>
|
---|
[f3429309] | 75 | </para>
|
---|
| 76 |
|
---|
[f837bd2] | 77 | <para condition="html" role="usernotes">
|
---|
| 78 | User Notes: <ulink url="&blfs-wiki;/qjson"/>
|
---|
| 79 | </para>
|
---|
| 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2 role="installation">
|
---|
| 83 | <title>Installation of QJson</title>
|
---|
| 84 |
|
---|
| 85 | <para>
|
---|
| 86 | Install <application>QJson</application> by running the following
|
---|
| 87 | commands:
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
| 90 | <screen><userinput>mkdir build &&
|
---|
[aed3e6ec] | 91 | cd build &&
|
---|
| 92 |
|
---|
[b6d3d395] | 93 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 94 | -DCMAKE_BUILD_TYPE=Release \
|
---|
[f837bd2] | 95 | .. &&
|
---|
| 96 | make</userinput></screen>
|
---|
| 97 |
|
---|
| 98 | <para>
|
---|
| 99 | This package does not contain a test suite.
|
---|
| 100 | </para>
|
---|
| 101 |
|
---|
| 102 | <para>
|
---|
| 103 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 104 | </para>
|
---|
| 105 |
|
---|
| 106 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 107 | </sect2>
|
---|
[f3429309] | 108 |
|
---|
[a88acf4] | 109 | <sect2 role="commands">
|
---|
| 110 | <title>Command Explanations</title>
|
---|
| 111 |
|
---|
| 112 | <para><option>-DCMAKE_BUILD_TYPE=Release</option>: This switch is used to
|
---|
[f3429309] | 113 | build without debugging symbols and apply a higher level of compiler
|
---|
[a88acf4] | 114 | optimizations.</para>
|
---|
| 115 |
|
---|
| 116 | </sect2>
|
---|
[f837bd2] | 117 |
|
---|
| 118 | <sect2 role="content">
|
---|
| 119 | <title>Contents</title>
|
---|
| 120 |
|
---|
| 121 | <segmentedlist>
|
---|
| 122 | <segtitle>Installed Programs</segtitle>
|
---|
| 123 | <segtitle>Installed Library</segtitle>
|
---|
| 124 | <segtitle>Installed Directory</segtitle>
|
---|
| 125 |
|
---|
| 126 | <seglistitem>
|
---|
| 127 | <seg>
|
---|
| 128 | none
|
---|
| 129 | </seg>
|
---|
| 130 | <seg>
|
---|
| 131 | libqjson.so
|
---|
| 132 | </seg>
|
---|
| 133 | <seg>
|
---|
[7af92fe5] | 134 | &qt4-dir;/include/json and &qt4-dir;/lib/cmake/qjson
|
---|
[f837bd2] | 135 | </seg>
|
---|
| 136 | </seglistitem>
|
---|
| 137 | </segmentedlist>
|
---|
| 138 |
|
---|
| 139 | <variablelist>
|
---|
| 140 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 141 | <?dbfo list-presentation="list"?>
|
---|
| 142 | <?dbhtml list-presentation="table"?>
|
---|
| 143 |
|
---|
| 144 | <varlistentry id="libqjson">
|
---|
| 145 | <term><filename class="libraryfile">libqjson.so</filename></term>
|
---|
| 146 | <listitem>
|
---|
| 147 | <para>
|
---|
| 148 | contains <application>QJson</application> API functions.
|
---|
| 149 | </para>
|
---|
| 150 | <indexterm zone="qjson libqjson">
|
---|
| 151 | <primary sortas="c-libqjson">libqjson.so</primary>
|
---|
| 152 | </indexterm>
|
---|
| 153 | </listitem>
|
---|
| 154 | </varlistentry>
|
---|
| 155 |
|
---|
| 156 | </variablelist>
|
---|
| 157 |
|
---|
| 158 | </sect2>
|
---|
| 159 |
|
---|
| 160 | </sect1>
|
---|