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 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>QJson-&qjson-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="qjson">
|
---|
26 | <primary sortas="a-QJson">QJson</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to QJson</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | <application>QJson</application> is a Qt-based library that maps JSON
|
---|
34 | data to QVariant objects and vice versa.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs74_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&qjson-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&qjson-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &qjson-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &qjson-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &qjson-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &qjson-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">QJson Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
76 | <para role="required">
|
---|
77 | <xref linkend="qt4"/> and
|
---|
78 | <xref linkend="cmake"/>
|
---|
79 | </para>
|
---|
80 |
|
---|
81 | <para condition="html" role="usernotes">
|
---|
82 | User Notes: <ulink url="&blfs-wiki;/qjson"/>
|
---|
83 | </para>
|
---|
84 | </sect2>
|
---|
85 |
|
---|
86 | <sect2 role="installation">
|
---|
87 | <title>Installation of QJson</title>
|
---|
88 |
|
---|
89 | <para>
|
---|
90 | Install <application>QJson</application> by running the following
|
---|
91 | commands:
|
---|
92 | </para>
|
---|
93 |
|
---|
94 | <screen><userinput>mkdir build &&
|
---|
95 | cd build &&
|
---|
96 | cmake -DCMAKE_INSTALL_PREFIX=&qt4-dir; \
|
---|
97 | -DCMAKE_BUILD_TYPE=Release \
|
---|
98 | .. &&
|
---|
99 | make</userinput></screen>
|
---|
100 |
|
---|
101 | <para>
|
---|
102 | This package does not contain a test suite.
|
---|
103 | </para>
|
---|
104 |
|
---|
105 | <para>
|
---|
106 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
107 | </para>
|
---|
108 |
|
---|
109 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
110 | </sect2>
|
---|
111 |
|
---|
112 | <sect2 role="content">
|
---|
113 | <title>Contents</title>
|
---|
114 |
|
---|
115 | <segmentedlist>
|
---|
116 | <segtitle>Installed Programs</segtitle>
|
---|
117 | <segtitle>Installed Library</segtitle>
|
---|
118 | <segtitle>Installed Directory</segtitle>
|
---|
119 |
|
---|
120 | <seglistitem>
|
---|
121 | <seg>
|
---|
122 | none
|
---|
123 | </seg>
|
---|
124 | <seg>
|
---|
125 | libqjson.so
|
---|
126 | </seg>
|
---|
127 | <seg>
|
---|
128 | &qt4-dir;/include/json and &qt4-dir;/lib/cmake/qjson
|
---|
129 | </seg>
|
---|
130 | </seglistitem>
|
---|
131 | </segmentedlist>
|
---|
132 |
|
---|
133 | <variablelist>
|
---|
134 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
135 | <?dbfo list-presentation="list"?>
|
---|
136 | <?dbhtml list-presentation="table"?>
|
---|
137 |
|
---|
138 | <varlistentry id="libqjson">
|
---|
139 | <term><filename class="libraryfile">libqjson.so</filename></term>
|
---|
140 | <listitem>
|
---|
141 | <para>
|
---|
142 | contains <application>QJson</application> API functions.
|
---|
143 | </para>
|
---|
144 | <indexterm zone="qjson libqjson">
|
---|
145 | <primary sortas="c-libqjson">libqjson.so</primary>
|
---|
146 | </indexterm>
|
---|
147 | </listitem>
|
---|
148 | </varlistentry>
|
---|
149 |
|
---|
150 | </variablelist>
|
---|
151 |
|
---|
152 | </sect2>
|
---|
153 |
|
---|
154 | </sect1>
|
---|