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 qtermwidget-download-http "https://github.com/qterminal/qtermwidget/releases/download/&qtermwidget-version;/qtermwidget-&qtermwidget-version;.tar.xz">
|
---|
8 | <!ENTITY qtermwidget-download-ftp " ">
|
---|
9 | <!ENTITY qtermwidget-md5sum "763ce418ef6b7167cea6c01e3a97f5f4">
|
---|
10 | <!ENTITY qtermwidget-size "156 KB">
|
---|
11 | <!ENTITY qtermwidget-buildsize "5.1 MB">
|
---|
12 | <!ENTITY qtermwidget-time "0.2 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="qtermwidget" xreflabel="qtermwidget-&qtermwidget-version;">
|
---|
16 | <?dbhtml filename="qtermwidget.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>qtermwidget-&qtermwidget-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="qtermwidget">
|
---|
26 | <primary sortas="a-qtermwidget">qtermwidget</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to qtermwidget</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | As the name suggests, the <application>qtermwidget</application> is a
|
---|
34 | terminal widget for <application>Qt</application>.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs79_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&qtermwidget-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&qtermwidget-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &qtermwidget-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &qtermwidget-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &qtermwidget-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &qtermwidget-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">qtermwidget Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
76 | <para role="required">
|
---|
77 | <xref linkend="cmake"/> and
|
---|
78 | <xref linkend="qt5"/> or
|
---|
79 | <xref linkend="qt4"/>
|
---|
80 |
|
---|
81 | </para>
|
---|
82 |
|
---|
83 | <para condition="html" role="usernotes">
|
---|
84 | User Notes: <ulink url="&blfs-wiki;/qtermwidget"/>
|
---|
85 | </para>
|
---|
86 | </sect2>
|
---|
87 |
|
---|
88 | <sect2 role="installation">
|
---|
89 | <title>Installation of qtermwidget</title>
|
---|
90 |
|
---|
91 | <para>
|
---|
92 | If you have <application>Qt4</application> and
|
---|
93 | <application>Qt5</application> installed, run <command>source
|
---|
94 | setqt4</command> or <command>source setqt5</command>, respectively, in
|
---|
95 | order to link <application>qtermwidget</application> to the one of your
|
---|
96 | choice. Following instructions are for <application>Qt5</application>
|
---|
97 | linking. For compilation with <application>Qt4</application>, see
|
---|
98 | <quote>Command Explanations</quote>, below. Install
|
---|
99 | <application>qtermwidget</application> by running the following
|
---|
100 | commands:
|
---|
101 | </para>
|
---|
102 |
|
---|
103 | <screen><userinput>mkdir -v build &&
|
---|
104 | cd build &&
|
---|
105 |
|
---|
106 | cmake -DCMAKE_BUILD_TYPE=Release \
|
---|
107 | -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
108 | -DCMAKE_INSTALL_LIBDIR=lib \
|
---|
109 | -DBUILD_DESIGNER_PLUGIN=0 \
|
---|
110 | -DUSE_QT5=true \
|
---|
111 | .. &&
|
---|
112 |
|
---|
113 | make</userinput></screen>
|
---|
114 |
|
---|
115 | <para>
|
---|
116 | The choice of <filename class="directory">/usr</filename> for prefix is
|
---|
117 | due to the general characteristics of this program, which can be used
|
---|
118 | without <application>LXQt</application>.
|
---|
119 | </para>
|
---|
120 |
|
---|
121 | <para>
|
---|
122 | This package does not come with a test suite.
|
---|
123 | </para>
|
---|
124 |
|
---|
125 | <para>
|
---|
126 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
127 | </para>
|
---|
128 |
|
---|
129 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
130 |
|
---|
131 | </sect2>
|
---|
132 |
|
---|
133 | <sect2 role="commands">
|
---|
134 | <title>Command Explanations</title>
|
---|
135 |
|
---|
136 | <para>
|
---|
137 | <parameter>-DBUILD_DESIGNER_PLUGIN=0</parameter>: This switch is
|
---|
138 | necessary, because building the Qt designer plugin is not supported for
|
---|
139 | <application>Qt5</application> yet. Toggle to 1 or remove, if you prefer
|
---|
140 | to use <application>Qt4</application>.
|
---|
141 | </para>
|
---|
142 |
|
---|
143 | <para>
|
---|
144 | <parameter>-DUSE_QT5=true</parameter>: This switch is used in order to
|
---|
145 | build this application linked to <application>Qt5</application>. Toggle
|
---|
146 | to <quote>false</quote>, if you prefer to use
|
---|
147 | <application>Qt4</application>.
|
---|
148 | </para>
|
---|
149 |
|
---|
150 | </sect2>
|
---|
151 |
|
---|
152 | <sect2 role="content">
|
---|
153 | <title>Contents</title>
|
---|
154 |
|
---|
155 | <segmentedlist>
|
---|
156 | <segtitle>Installed Program</segtitle>
|
---|
157 | <segtitle>Installed Libraries</segtitle>
|
---|
158 | <segtitle>Installed Directories</segtitle>
|
---|
159 |
|
---|
160 | <seglistitem>
|
---|
161 | <seg>
|
---|
162 | None
|
---|
163 | </seg>
|
---|
164 | <seg>
|
---|
165 | libqtermwidget5.so or
|
---|
166 | libqtermwidget4.so and
|
---|
167 | /usr/lib/qt4/plugins/designer/libqtermwidget4plugin.so
|
---|
168 | </seg>
|
---|
169 | <seg>
|
---|
170 | /usr/{include,share{/cmake,}}/qtermwidget5 or
|
---|
171 | /usr/{include,share{/cmake,}}/qtermwidget4
|
---|
172 | </seg>
|
---|
173 | </seglistitem>
|
---|
174 | </segmentedlist>
|
---|
175 |
|
---|
176 | <variablelist>
|
---|
177 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
178 | <?dbfo list-presentation="list"?>
|
---|
179 | <?dbhtml list-presentation="table"?>
|
---|
180 |
|
---|
181 | <varlistentry id="libqtermwidget5-lib">
|
---|
182 | <term><filename class="libraryfile">libqtermwidget5.so</filename></term>
|
---|
183 | <listitem>
|
---|
184 | <para>
|
---|
185 | contains the <application>libqtermwidget5</application> API functions.
|
---|
186 | </para>
|
---|
187 | <indexterm zone="qtermwidget libqtermwidget5-lib">
|
---|
188 | <primary sortas="c-libqtermwidget5">libqtermwidget5.so</primary>
|
---|
189 | </indexterm>
|
---|
190 | </listitem>
|
---|
191 | </varlistentry>
|
---|
192 |
|
---|
193 | <varlistentry id="libqtermwidget4-lib">
|
---|
194 | <term><filename class="libraryfile">libqtermwidget4.so</filename></term>
|
---|
195 | <listitem>
|
---|
196 | <para>
|
---|
197 | contains the <application>libqtermwidget4</application> API functions.
|
---|
198 | </para>
|
---|
199 | <indexterm zone="qtermwidget libqtermwidget4-lib">
|
---|
200 | <primary sortas="c-libqtermwidget4">libqtermwidget4.so</primary>
|
---|
201 | </indexterm>
|
---|
202 | </listitem>
|
---|
203 | </varlistentry>
|
---|
204 |
|
---|
205 | <varlistentry id="libqtermwidget4plugin-lib">
|
---|
206 | <term><filename class="libraryfile">libqtermwidget4plugin.so</filename></term>
|
---|
207 | <listitem>
|
---|
208 | <para>
|
---|
209 | contains the <application>qtermwidget Qt4 designer plugin</application>.
|
---|
210 | </para>
|
---|
211 | <indexterm zone="qtermwidget libqtermwidget4plugin-lib">
|
---|
212 | <primary sortas="c-libqtermwidget4plugin">libqtermwidget4plugin.so</primary>
|
---|
213 | </indexterm>
|
---|
214 | </listitem>
|
---|
215 | </varlistentry>
|
---|
216 |
|
---|
217 | </variablelist>
|
---|
218 |
|
---|
219 | </sect2>
|
---|
220 |
|
---|
221 | </sect1>
|
---|