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 | <!-- Change for new minor releases !!! -->
|
---|
8 |
|
---|
9 | <!ENTITY qt5-major "5.4">
|
---|
10 | <!ENTITY qt5-url "http://download.qt-project.org/official_releases/qt/&qt5-major;/&qt5-version;/single">
|
---|
11 |
|
---|
12 | <!ENTITY qt5-download-http "&qt5-url;/qt-everywhere-opensource-src-&qt5-version;.tar.xz">
|
---|
13 | <!ENTITY qt5-download-ftp " ">
|
---|
14 | <!ENTITY qt5-md5sum "21843b00ecde8956217faab391bc007b">
|
---|
15 | <!ENTITY qt5-size "279 MB">
|
---|
16 | <!ENTITY qt5-buildsize "6.9 GB (266 MB installed)">
|
---|
17 | <!ENTITY qt5-time "27 SBU (parallelism=4, without Qt Web Engine), 138 SBU (parallelism=1, with Qt Web Engine)">
|
---|
18 | ]>
|
---|
19 |
|
---|
20 | <sect1 id="qt5" xreflabel="Qt-&qt5-version;">
|
---|
21 | <?dbhtml filename="qt5.html" ?>
|
---|
22 |
|
---|
23 | <sect1info>
|
---|
24 | <othername>$LastChangedBy$</othername>
|
---|
25 | <date>$Date$</date>
|
---|
26 | </sect1info>
|
---|
27 |
|
---|
28 | <title>Qt-&qt5-version;</title>
|
---|
29 |
|
---|
30 | <indexterm zone="qt5">
|
---|
31 | <primary sortas="a-Qt">Qt</primary>
|
---|
32 | </indexterm>
|
---|
33 |
|
---|
34 | <sect2 role="package">
|
---|
35 | <title>Introduction to Qt5</title>
|
---|
36 |
|
---|
37 | <para>
|
---|
38 | <application>Qt5</application> is a cross-platform application
|
---|
39 | framework that is widely used for developing application software
|
---|
40 | with a graphical user interface (GUI) (in which cases
|
---|
41 | <application>Qt5</application> is classified as a widget toolkit), and
|
---|
42 | also used for developing non-GUI programs such as command-line tools
|
---|
43 | and consoles for servers.
|
---|
44 | </para>
|
---|
45 |
|
---|
46 | &lfs76_checked;
|
---|
47 |
|
---|
48 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
49 | <itemizedlist spacing="compact">
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download (HTTP): <ulink url="&qt5-download-http;"/>
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Download (FTP): <ulink url="&qt5-download-ftp;"/>
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Download MD5 sum: &qt5-md5sum;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Download size: &qt5-size;
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | <listitem>
|
---|
71 | <para>
|
---|
72 | Estimated disk space required: &qt5-buildsize;
|
---|
73 | </para>
|
---|
74 | </listitem>
|
---|
75 | <listitem>
|
---|
76 | <para>
|
---|
77 | Estimated build time: &qt5-time;
|
---|
78 | </para>
|
---|
79 | </listitem>
|
---|
80 | </itemizedlist>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect3">Qt5 Dependencies</bridgehead>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
85 | <para role="required">
|
---|
86 | <xref linkend="alsa-lib"/>,
|
---|
87 | <xref linkend="mesalib"/>,
|
---|
88 | <xref linkend="xcb-util-image"/>,
|
---|
89 | <xref linkend="xcb-util-keysyms"/>,
|
---|
90 | <xref linkend="xcb-util-renderutil"/>, and
|
---|
91 | <xref linkend="xcb-util-wm"/>
|
---|
92 | </para>
|
---|
93 |
|
---|
94 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
95 | <para role="recommended">
|
---|
96 | <xref linkend="cacerts"/>,
|
---|
97 | <xref linkend="cups"/>,
|
---|
98 | <xref linkend="dbus"/>,
|
---|
99 | <xref linkend="glib2"/>,
|
---|
100 | <xref linkend="gst-plugins-base"/>,<!--
|
---|
101 | <xref linkend="harfbuzz"/>, Doesn't have all the features that the included one has. -->
|
---|
102 | <xref linkend="icu"/> (required for QtWebKit),
|
---|
103 | <xref linkend="libjpeg"/>,
|
---|
104 | <xref linkend="libmng"/>,
|
---|
105 | <xref linkend="libpng"/>,
|
---|
106 | <xref linkend="libtiff"/>,
|
---|
107 | <xref linkend="mtdev"/>,
|
---|
108 | <xref linkend="openssl"/>,
|
---|
109 | <xref linkend="pcre"/>,
|
---|
110 | <xref linkend="sqlite"/> and
|
---|
111 | <xref linkend="ruby"/> (required for QtWebKit)
|
---|
112 | </para>
|
---|
113 |
|
---|
114 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
115 | <para role="optional">
|
---|
116 | <xref linkend="geoclue"/>,
|
---|
117 | <xref linkend="gst10-plugins-base"/> (QtWebKit HTML5 Video Support),
|
---|
118 | <xref linkend="gtk2"/> (GTK+ Theme Support),
|
---|
119 | <ulink url="https://code.google.com/p/ibus/">IBus</ulink>,
|
---|
120 | <ulink url="http://xkbcommon.org/">libxkbcommon</ulink>,
|
---|
121 | <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
|
---|
122 | <xref linkend="postgresql"/>,
|
---|
123 | <xref linkend="pulseaudio"/>, and
|
---|
124 | <xref linkend="unixodbc"/>
|
---|
125 | </para>
|
---|
126 |
|
---|
127 | <para condition="html" role="usernotes">User Notes:
|
---|
128 | <ulink url="&blfs-wiki;/qt5"/>
|
---|
129 | </para>
|
---|
130 | </sect2>
|
---|
131 |
|
---|
132 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
133 | href="../../xincludes/qt-alternatives.xml"/>
|
---|
134 |
|
---|
135 | <sect2 role="installation">
|
---|
136 | <title>Installation of Qt5</title>
|
---|
137 |
|
---|
138 | <caution>
|
---|
139 | <para>
|
---|
140 | If you did not install some of the recommended dependencies, examine
|
---|
141 | <command>./configure --help</command> output to check how to disable
|
---|
142 | them or use internal versions bundled in the source tarball.
|
---|
143 | </para>
|
---|
144 | </caution>
|
---|
145 |
|
---|
146 | <warning>
|
---|
147 | <para>
|
---|
148 | If <application>Qt5</application> is being reinstalled into the
|
---|
149 | same directory as an existing instance, run the commands done by
|
---|
150 | <systemitem class="username">root</systemitem>, such as
|
---|
151 | <command>make install</command>, from a console or non-Qt5 based
|
---|
152 | window manager. It overwrites <application>Qt5</application>
|
---|
153 | libraries that should not be in use during the install process.
|
---|
154 | </para>
|
---|
155 | </warning>
|
---|
156 |
|
---|
157 | <!-- ==== Method 1 ====== -->
|
---|
158 | <bridgehead renderas="sect3">Method 1: Installing in /usr</bridgehead>
|
---|
159 |
|
---|
160 | <para>
|
---|
161 | Install <application>Qt5</application> by running the
|
---|
162 | following commands:
|
---|
163 | </para>
|
---|
164 |
|
---|
165 | <!-- This is rather a bad idea. Most apps that I've seen using Qt5 look for -qt5
|
---|
166 | suffixed programs. On the other hand, the developer is used to running
|
---|
167 | qmake, linguist, etc from the command line.
|
---|
168 |
|
---|
169 | <note>
|
---|
170 | <para>
|
---|
171 | If <emphasis>not</emphasis> also installing <application>Qt4</application>
|
---|
172 | into the /usr directory, change the entry for -bindir below to /usr/bin.
|
---|
173 | </para>
|
---|
174 | </note> -->
|
---|
175 |
|
---|
176 | <screen><userinput>export QT5LINK=/usr
|
---|
177 |
|
---|
178 | ./configure -prefix /usr \
|
---|
179 | -sysconfdir /etc/xdg \
|
---|
180 | -bindir /usr/bin \
|
---|
181 | -headerdir /usr/include/qt5 \
|
---|
182 | -archdatadir /usr/lib/qt5 \
|
---|
183 | -datadir /usr/share/qt5 \
|
---|
184 | -docdir /usr/share/doc/qt5 \
|
---|
185 | -translationdir /usr/share/qt5/translations \
|
---|
186 | -examplesdir /usr/share/doc/qt5/examples \
|
---|
187 | -confirm-license \
|
---|
188 | -opensource \
|
---|
189 | -dbus-linked \
|
---|
190 | -openssl-linked \<!--
|
---|
191 | -system-harfbuzz \-->
|
---|
192 | -system-sqlite \
|
---|
193 | -no-nis \
|
---|
194 | -skip qtwebengine \
|
---|
195 | -nomake examples \
|
---|
196 | -optimized-qmake &&
|
---|
197 | make</userinput></screen>
|
---|
198 |
|
---|
199 | <para>
|
---|
200 | This package does not come with a test suite.
|
---|
201 | </para>
|
---|
202 |
|
---|
203 | <para>
|
---|
204 | Remove references to the build directory from the
|
---|
205 | <filename class="extension">.pc</filename> files by running
|
---|
206 | the following command:
|
---|
207 | </para>
|
---|
208 |
|
---|
209 | <screen><userinput>find . -name "*.pc" -exec perl -pi -e "s, -L$PWD/?\S+,,g" {} \;</userinput></screen>
|
---|
210 |
|
---|
211 | <para>
|
---|
212 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
213 | </para>
|
---|
214 |
|
---|
215 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
216 |
|
---|
217 | <para>
|
---|
218 | Remove references to the build directory from installed files by
|
---|
219 | running the following commands as the
|
---|
220 | <systemitem class="username">root</systemitem> user:
|
---|
221 | </para>
|
---|
222 |
|
---|
223 | <screen role="root"><userinput>sed -e "s:$PWD/qtbase:/usr/lib/qt5:g" \
|
---|
224 | -i /usr/lib/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri &&
|
---|
225 |
|
---|
226 | find /usr/lib/lib{qgsttools_p,Qt5*}.prl -exec sed -i -r \
|
---|
227 | '/^QMAKE_PRL_BUILD_DIR/d;s/(QMAKE_PRL_LIBS =).*/\1/' {} \;</userinput></screen>
|
---|
228 |
|
---|
229 | <!-- ==== Method 2 ====== -->
|
---|
230 |
|
---|
231 | <bridgehead renderas="sect3">Method 2: Installing in /opt/qt-&qt5-version;</bridgehead>
|
---|
232 |
|
---|
233 | <para>
|
---|
234 | This section provides instructions for installing Qt5 in the
|
---|
235 | <filename class="directory">/opt</filename> directory.
|
---|
236 | </para>
|
---|
237 |
|
---|
238 | <screen><userinput>export QT5DIR=/opt/qt-&qt5-version; &&
|
---|
239 | export QT5LINK=/opt/qt5 &&
|
---|
240 |
|
---|
241 | ./configure -prefix $QT5DIR \
|
---|
242 | -sysconfdir /etc/xdg \
|
---|
243 | -confirm-license \
|
---|
244 | -opensource \
|
---|
245 | -dbus-linked \
|
---|
246 | -openssl-linked \<!--
|
---|
247 | -system-harfbuzz \-->
|
---|
248 | -system-sqlite \
|
---|
249 | -no-nis \
|
---|
250 | -nomake examples \
|
---|
251 | -skip qtwebengine \
|
---|
252 | -optimized-qmake &&
|
---|
253 | make</userinput></screen>
|
---|
254 |
|
---|
255 | <para>
|
---|
256 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
257 | </para>
|
---|
258 |
|
---|
259 | <screen role="root"><userinput>make install &&
|
---|
260 | ln -svfn $QT5DIR /opt/qt5</userinput></screen>
|
---|
261 |
|
---|
262 | <para>
|
---|
263 | Remove references to the build directory from installed files by
|
---|
264 | running the following commands as the
|
---|
265 | <systemitem class="username">root</systemitem> user:
|
---|
266 | </para>
|
---|
267 |
|
---|
268 | <screen role="root"><userinput>find $QT5DIR -name qt_lib_bootstrap_private.pri \
|
---|
269 | -exec sed -i -e "s:$PWD/qtbase:/$QT5DIR/lib/:g" {} \; &&
|
---|
270 |
|
---|
271 | find $QT5DIR -name \*.prl \
|
---|
272 | -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;</userinput></screen>
|
---|
273 |
|
---|
274 | <!-- This is useful for packages looking explicitly for Qt apps with -qt5 suffix.
|
---|
275 |
|
---|
276 | <para>
|
---|
277 | Symlink the <application>Qt5</application> executables into
|
---|
278 | <filename class="directory">/usr/bin</filename> by running the
|
---|
279 | following commands as the
|
---|
280 | <systemitem class="username">root</systemitem> user:
|
---|
281 | </para>
|
---|
282 |
|
---|
283 | <screen role="root"><userinput>ln -svf $QT5DIR /opt/qt5 &&
|
---|
284 |
|
---|
285 | for file in /opt/qt5/bin/*; do
|
---|
286 | ln -sfv $file /usr/bin/$(basename $file)-qt5
|
---|
287 | done</userinput></screen> -->
|
---|
288 |
|
---|
289 | <!-- ==== Common ====== -->
|
---|
290 | <bridgehead renderas="sect3">Continuing for Both Methods</bridgehead>
|
---|
291 |
|
---|
292 | <para>
|
---|
293 | For all methods, install images and create the menu entries
|
---|
294 | for installed applications. Be sure that the <envar>QT5LINK</envar>
|
---|
295 | variable is defined in root's environment and
|
---|
296 | as the <systemitem class="username">root</systemitem> user:
|
---|
297 | </para>
|
---|
298 |
|
---|
299 | <screen role="root"><userinput>install -v -dm755 /usr/share/pixmaps/ &&
|
---|
300 |
|
---|
301 | install -v -Dm644 qttools/src/assistant/assistant/images/assistant-128.png \
|
---|
302 | /usr/share/pixmaps/assistant-qt5.png &&
|
---|
303 |
|
---|
304 | install -v -Dm644 qttools/src/designer/src/designer/images/designer.png \
|
---|
305 | /usr/share/pixmaps/designer-qt5.png &&
|
---|
306 |
|
---|
307 | install -v -Dm644 qttools/src/linguist/linguist/images/icons/linguist-128-32.png \
|
---|
308 | /usr/share/pixmaps/linguist-qt5.png &&
|
---|
309 |
|
---|
310 | install -v -Dm644 qttools/src/qdbus/qdbusviewer/images/qdbusviewer-128.png \
|
---|
311 | /usr/share/pixmaps/qdbusviewer-qt5.png &&
|
---|
312 |
|
---|
313 | install -dm755 /usr/share/applications &&
|
---|
314 |
|
---|
315 | cat > /usr/share/applications/assistant-qt5.desktop << EOF
|
---|
316 | <literal>[Desktop Entry]
|
---|
317 | Name=Qt5 Assistant
|
---|
318 | Comment=Shows Qt5 documentation and examples
|
---|
319 | Exec=$QT5LINK/bin/assistant
|
---|
320 | Icon=assistant-qt5.png
|
---|
321 | Terminal=false
|
---|
322 | Encoding=UTF-8
|
---|
323 | Type=Application
|
---|
324 | Categories=Qt;Development;Documentation;</literal>
|
---|
325 | EOF
|
---|
326 |
|
---|
327 | cat > /usr/share/applications/designer-qt5.desktop << EOF
|
---|
328 | <literal>[Desktop Entry]
|
---|
329 | Name=Qt5 Designer
|
---|
330 | GenericName=Interface Designer
|
---|
331 | Comment=Design GUIs for Qt5 applications
|
---|
332 | Exec=$QT5LINK/bin/designer
|
---|
333 | Icon=designer-qt5.png
|
---|
334 | MimeType=application/x-designer;
|
---|
335 | Terminal=false
|
---|
336 | Encoding=UTF-8
|
---|
337 | Type=Application
|
---|
338 | Categories=Qt;Development;</literal>
|
---|
339 | EOF
|
---|
340 |
|
---|
341 | cat > /usr/share/applications/linguist-qt5.desktop << EOF
|
---|
342 | <literal>[Desktop Entry]
|
---|
343 | Name=Qt5 Linguist
|
---|
344 | Comment=Add translations to Qt5 applications
|
---|
345 | Exec=$QT5LINK/bin/linguist
|
---|
346 | Icon=linguist-qt5.png
|
---|
347 | MimeType=text/vnd.trolltech.linguist;application/x-linguist;
|
---|
348 | Terminal=false
|
---|
349 | Encoding=UTF-8
|
---|
350 | Type=Application
|
---|
351 | Categories=Qt;Development;</literal>
|
---|
352 | EOF
|
---|
353 |
|
---|
354 | cat > /usr/share/applications/qdbusviewer-qt5.desktop << EOF
|
---|
355 | <literal>[Desktop Entry]
|
---|
356 | Name=Qt5 QDbusViewer
|
---|
357 | GenericName=D-Bus Debugger
|
---|
358 | Comment=Debug D-Bus applications
|
---|
359 | Exec=$QT5LINK/bin/qdbusviewer
|
---|
360 | Icon=qdbusviewer-qt5.png
|
---|
361 | Terminal=false
|
---|
362 | Encoding=UTF-8
|
---|
363 | Type=Application
|
---|
364 | Categories=Qt;Development;Debugger;</literal>
|
---|
365 | EOF</userinput></screen>
|
---|
366 |
|
---|
367 | </sect2>
|
---|
368 |
|
---|
369 | <sect2 role="commands">
|
---|
370 | <title>Command Explanations</title>
|
---|
371 |
|
---|
372 | <para>
|
---|
373 | <command>sed -e "..." -e "..." -i ...</command>: This
|
---|
374 | command fixes detection of
|
---|
375 | <application>libmng</application> 2.0.
|
---|
376 | </para>
|
---|
377 |
|
---|
378 | <para>
|
---|
379 | <parameter>-confirm-license</parameter>: Accept license
|
---|
380 | without prompting user during configuration.
|
---|
381 | </para>
|
---|
382 |
|
---|
383 | <para>
|
---|
384 | <parameter>-opensource</parameter>: Install the opensource
|
---|
385 | version of <application>Qt</application>.
|
---|
386 | </para>
|
---|
387 |
|
---|
388 | <para>
|
---|
389 | <parameter>-release</parameter>: This switch disables
|
---|
390 | building with debugging symbols.
|
---|
391 | </para>
|
---|
392 |
|
---|
393 | <para>
|
---|
394 | <parameter>-nomake examples</parameter>: This switch
|
---|
395 | disables building of the example programs included
|
---|
396 | in the source tarball. Remove it if you want to build
|
---|
397 | them.
|
---|
398 | </para>
|
---|
399 |
|
---|
400 | <para>
|
---|
401 | <parameter>-system-harfbuzz</parameter>: This switch enables use
|
---|
402 | of the system version of <application>Harfbuzz</application>
|
---|
403 | which fixes some font rendering issues in
|
---|
404 | <application>Qt5</application> applications.
|
---|
405 | </para>
|
---|
406 |
|
---|
407 | <para>
|
---|
408 | <parameter>-system-sqlite</parameter>: This switch enables use
|
---|
409 | of the system version of <application>SQLite</application>.
|
---|
410 | </para>
|
---|
411 |
|
---|
412 | <para>
|
---|
413 | <parameter>-no-nis</parameter>: This switch disables support
|
---|
414 | for Network Information Service (NIS) which has been
|
---|
415 | removed from recent versions of <application>Glibc</application>.
|
---|
416 | </para>
|
---|
417 |
|
---|
418 | <para>
|
---|
419 | <parameter>-dbus-linked -openssl-linked</parameter>: These
|
---|
420 | switches enable explicit linking of the
|
---|
421 | <application>D-Bus</application> and
|
---|
422 | <application>OpenSSL</application> libraries into
|
---|
423 | <application>Qt5</application> libraries instead of
|
---|
424 | <command>dlopen()</command>-ing them.
|
---|
425 | </para>
|
---|
426 |
|
---|
427 | <para>
|
---|
428 | <parameter>-skip qtwebengine</parameter>: This switch disables
|
---|
429 | building the Qt Web Engine. It is not presently used by
|
---|
430 | any applications. If this option is removed, fix a build
|
---|
431 | problem with:
|
---|
432 |
|
---|
433 | <screen><userinput>sed -i '$ a !contains(QT_CONFIG, pulseaudio): GYP_CONFIG += use_pulseaudio=0' \
|
---|
434 | qtwebengine/src/core/config/desktop_linux.pri</userinput></screen>
|
---|
435 | </para>
|
---|
436 |
|
---|
437 | <para>
|
---|
438 | <parameter>-optimized-qmake</parameter>: This switch enables
|
---|
439 | building of the optimized <command>qmake</command> program.
|
---|
440 | </para>
|
---|
441 |
|
---|
442 | </sect2>
|
---|
443 |
|
---|
444 | <sect2 role="configuration">
|
---|
445 | <title>Configuring Qt5</title>
|
---|
446 |
|
---|
447 | <sect3 id="qt5-config">
|
---|
448 | <title>Configuration Information</title>
|
---|
449 |
|
---|
450 | <para>
|
---|
451 | Create the menu entries for installed applications by running the
|
---|
452 | following commands <systemitem class="username">root</systemitem>
|
---|
453 | user:
|
---|
454 | </para>
|
---|
455 |
|
---|
456 | <para>
|
---|
457 | If you installed <application>Qt5</application> in
|
---|
458 | <filename class="directory">/usr</filename>, create an
|
---|
459 | environment variable needed by certain packages.
|
---|
460 | As the <systemitem class="username">root</systemitem> user:
|
---|
461 | </para>
|
---|
462 |
|
---|
463 | <screen role="root"><userinput>cat > /etc/profile.d/qt5.sh << EOF
|
---|
464 | <literal># Begin /etc/profile.d/qt5.sh
|
---|
465 |
|
---|
466 | QT5DIR=/usr
|
---|
467 | export QT5DIR
|
---|
468 |
|
---|
469 | # End /etc/profile.d/qt5.sh</literal>
|
---|
470 | EOF</userinput></screen>
|
---|
471 |
|
---|
472 | <para>
|
---|
473 | If you installed <application>Qt5</application> in a location other
|
---|
474 | than <filename class="directory">/usr</filename>, you need to update the
|
---|
475 | following configuration files so that <application>Qt5</application> is
|
---|
476 | correctly found by other packages and system processes.
|
---|
477 | </para>
|
---|
478 |
|
---|
479 | <para>
|
---|
480 | As the <systemitem class="username">root</systemitem> user, update
|
---|
481 | the <filename>/etc/ld.so.conf</filename> file and the dynamic linker's
|
---|
482 | run-time cache file:
|
---|
483 | </para>
|
---|
484 |
|
---|
485 | <screen role="root"><userinput>cat >> /etc/ld.so.conf << EOF
|
---|
486 | <literal># Begin Qt addition
|
---|
487 |
|
---|
488 | /opt/qt5/lib
|
---|
489 |
|
---|
490 | # End Qt addition</literal>
|
---|
491 | EOF
|
---|
492 |
|
---|
493 | ldconfig</userinput></screen>
|
---|
494 |
|
---|
495 | <indexterm zone="qt5 qt5-config">
|
---|
496 | <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
|
---|
497 | </indexterm>
|
---|
498 |
|
---|
499 | <para>
|
---|
500 | As the <systemitem class="username">root</systemitem> user, create
|
---|
501 | the <filename>/etc/profile.d/qt5.sh</filename> file:
|
---|
502 | </para>
|
---|
503 |
|
---|
504 | <screen role="root"><userinput>cat > /etc/profile.d/qt5.sh << EOF
|
---|
505 | <literal># Begin /etc/profile.d/qt5.sh
|
---|
506 |
|
---|
507 | QT5DIR=/opt/qt5
|
---|
508 |
|
---|
509 | pathappend /opt/qt5/bin PATH
|
---|
510 | pathappend /opt/qt5/lib/pkgconfig PKG_CONFIG_PATH
|
---|
511 |
|
---|
512 | export QT5DIR
|
---|
513 |
|
---|
514 | # End /etc/profile.d/qt5.sh</literal>
|
---|
515 | EOF</userinput></screen>
|
---|
516 |
|
---|
517 | </sect3>
|
---|
518 |
|
---|
519 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
520 | href="../../xincludes/setqt.xml"/>
|
---|
521 | </sect2>
|
---|
522 |
|
---|
523 | <sect2 role="content">
|
---|
524 | <title>Contents</title>
|
---|
525 |
|
---|
526 | <segmentedlist>
|
---|
527 | <segtitle>Installed Programs</segtitle>
|
---|
528 | <segtitle>Installed Libraries</segtitle>
|
---|
529 | <segtitle>Installed Directories</segtitle>
|
---|
530 |
|
---|
531 | <seglistitem>
|
---|
532 | <seg>
|
---|
533 | assistant, designer, lconvert, linguist, lrelease,
|
---|
534 | lupdate, moc, pixeltool, qcollectiongenerator, qdbuscpp2xml,
|
---|
535 | qdbus, qdbusviewer, qdbusxml2cpp, qdoc, qhelpconverter,
|
---|
536 | qhelpgenerator, qlalr, qmake, qml1plugindump, qmlbundle,
|
---|
537 | qmlimportscanner, qmlmin, qmlplugindump, qmlprofiler, qml,
|
---|
538 | qmlscene, qmltestrunner, qmlviewer, qtdiag, qtpaths, rcc,
|
---|
539 | syncqt.pl, uic, xmlpatterns, and xmlpatternsvalidator
|
---|
540 | </seg>
|
---|
541 | <seg>
|
---|
542 | libEnginio.so, libqgsttools_p.so, libQt5Bluetooth.so,
|
---|
543 | libQt5Bootstrap.a, libQt5CLucene.so, libQt5Concurrent.so,
|
---|
544 | libQt5Core.so, libQt5DBus.so, libQt5Declarative.so,
|
---|
545 | libQt5DesignerComponents.so, libQt5Designer.so, libQt5Gui.so,
|
---|
546 | libQt5Help.so, libQt5MultimediaQuick_p.so, libQt5Multimedia.so,
|
---|
547 | libQt5MultimediaWidgets.so, libQt5Network.so, libQt5Nfc.so,
|
---|
548 | libQt5OpenGLExtensions.a, libQt5OpenGL.so, libQt5PlatformSupport.a,
|
---|
549 | libQt5Positioning.so, libQt5PrintSupport.so, libQt5QmlDevTools.a,
|
---|
550 | libQt5Qml.so, libQt5QuickParticles.so, libQt5QuickWidgets.so,
|
---|
551 | libQt5Quick.so, libQt5QuickTest.so, libQt5Script.so,
|
---|
552 | libQt5ScriptTools.so, libQt5Sensors.so, libQt5SerialPort.so,
|
---|
553 | libQt5Sql.so, libQt5Svg.so, libQt5Test.so, libQt5UiTools.a,
|
---|
554 | libQt5WebKit.so, libQt5WebKitWidgets.so, libQt5WebSockets.so,
|
---|
555 | libQt5Widgets.so, libQt5X11Extras.so, libQt5XmlPatterns.so,
|
---|
556 | libQt5Xml.so, and several plugins under /opt/qt5/{imports,plugins,qml}
|
---|
557 | </seg>
|
---|
558 | <seg>
|
---|
559 | /usr/include/qt5,
|
---|
560 | /usr/lib/qt5,
|
---|
561 | /usr/share/doc/qt5, and
|
---|
562 | /usr/share/qt5
|
---|
563 | OR
|
---|
564 | /opt/qt5 and
|
---|
565 | /opt/qt-&qt5-version;
|
---|
566 | </seg>
|
---|
567 | </seglistitem>
|
---|
568 | </segmentedlist>
|
---|
569 |
|
---|
570 | <variablelist>
|
---|
571 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
572 | <?dbfo list-presentation="list"?>
|
---|
573 | <?dbhtml list-presentation="table"?>
|
---|
574 |
|
---|
575 | <varlistentry id="assistant-qt5">
|
---|
576 | <term><command>assistant</command></term>
|
---|
577 | <listitem>
|
---|
578 | <para>
|
---|
579 | is a tool for presenting on-line documentation.
|
---|
580 | </para>
|
---|
581 | <indexterm zone="qt5 assistant-qt5">
|
---|
582 | <primary sortas="b-assistant-qt5">assistant</primary>
|
---|
583 | </indexterm>
|
---|
584 | </listitem>
|
---|
585 | </varlistentry>
|
---|
586 |
|
---|
587 | <varlistentry id="designer-qt5">
|
---|
588 | <term><command>designer</command></term>
|
---|
589 | <listitem>
|
---|
590 | <para>
|
---|
591 | is a full-fledged GUI builder. It includes
|
---|
592 | powerful features such as preview mode, automatic widget
|
---|
593 | layout, support for custom widgets, and an advanced
|
---|
594 | property editor.
|
---|
595 | </para>
|
---|
596 | <indexterm zone="qt5 designer-qt5">
|
---|
597 | <primary sortas="b-designer-qt5">designer</primary>
|
---|
598 | </indexterm>
|
---|
599 | </listitem>
|
---|
600 | </varlistentry>
|
---|
601 |
|
---|
602 | <varlistentry id="linguist-qt5">
|
---|
603 | <term><command>linguist</command></term>
|
---|
604 | <listitem>
|
---|
605 | <para>
|
---|
606 | provides support for translating applications into
|
---|
607 | local languages.
|
---|
608 | </para>
|
---|
609 | <indexterm zone="qt5 linguist-qt5">
|
---|
610 | <primary sortas="b-linguist-qt5">linguist</primary>
|
---|
611 | </indexterm>
|
---|
612 | </listitem>
|
---|
613 | </varlistentry>
|
---|
614 |
|
---|
615 | <varlistentry id="lrelease-qt5">
|
---|
616 | <term><command>lrelease</command></term>
|
---|
617 | <listitem>
|
---|
618 | <para>
|
---|
619 | is a simple command line tool. It reads a Qt project
|
---|
620 | file and produces message files used by the application.
|
---|
621 | </para>
|
---|
622 | <indexterm zone="qt5 lrelease-qt5">
|
---|
623 | <primary sortas="b-lrelease-qt5">lrelease</primary>
|
---|
624 | </indexterm>
|
---|
625 | </listitem>
|
---|
626 | </varlistentry>
|
---|
627 |
|
---|
628 | <varlistentry id="lupdate-qt5">
|
---|
629 | <term><command>lupdate</command></term>
|
---|
630 | <listitem>
|
---|
631 | <para>
|
---|
632 | reads a Qt project file, finds the translatable
|
---|
633 | strings in the specified source, header and Qt Designer
|
---|
634 | interface files, and produces or updates the translation
|
---|
635 | files listed in the project file.
|
---|
636 | </para>
|
---|
637 | <indexterm zone="qt5 lupdate-qt5">
|
---|
638 | <primary sortas="b-lupdate-qt5">lupdate</primary>
|
---|
639 | </indexterm>
|
---|
640 | </listitem>
|
---|
641 | </varlistentry>
|
---|
642 |
|
---|
643 | <varlistentry id="moc-qt5">
|
---|
644 | <term><command>moc</command></term>
|
---|
645 | <listitem>
|
---|
646 | <para>
|
---|
647 | generates Qt meta object support code.
|
---|
648 | </para>
|
---|
649 | <indexterm zone="qt5 moc-qt5">
|
---|
650 | <primary sortas="b-moc-qt5">moc</primary>
|
---|
651 | </indexterm>
|
---|
652 | </listitem>
|
---|
653 | </varlistentry>
|
---|
654 |
|
---|
655 | <varlistentry id="pixeltool-qt5">
|
---|
656 | <term><command>pixeltool</command></term>
|
---|
657 | <listitem>
|
---|
658 | <para>
|
---|
659 | is a desktop magnifier and as you move your mouse around
|
---|
660 | the screen it will show the magnified contents in its window.
|
---|
661 | </para>
|
---|
662 | <indexterm zone="qt5 pixeltool-qt5">
|
---|
663 | <primary sortas="b-pixeltool-qt5">pixeltool</primary>
|
---|
664 | </indexterm>
|
---|
665 | </listitem>
|
---|
666 | </varlistentry>
|
---|
667 |
|
---|
668 | <varlistentry id="qmake-qt5">
|
---|
669 | <term><command>qmake</command></term>
|
---|
670 | <listitem>
|
---|
671 | <para>
|
---|
672 | uses information stored in project files to
|
---|
673 | determine what should go in the makefiles it
|
---|
674 | generates.
|
---|
675 | </para>
|
---|
676 | <indexterm zone="qt5 qmake-qt5">
|
---|
677 | <primary sortas="b-qmake-qt5">qmake</primary>
|
---|
678 | </indexterm>
|
---|
679 | </listitem>
|
---|
680 | </varlistentry>
|
---|
681 |
|
---|
682 | <varlistentry id="rcc-qt5">
|
---|
683 | <term><command>rcc</command></term>
|
---|
684 | <listitem>
|
---|
685 | <para>
|
---|
686 | is a resource compiler used in conjunction with designer.
|
---|
687 | </para>
|
---|
688 | <indexterm zone="qt5 rcc-qt5">
|
---|
689 | <primary sortas="b-rcc-qt5">rcc</primary>
|
---|
690 | </indexterm>
|
---|
691 | </listitem>
|
---|
692 | </varlistentry>
|
---|
693 |
|
---|
694 | <varlistentry id="uic-qt5">
|
---|
695 | <term><command>uic</command></term>
|
---|
696 | <listitem>
|
---|
697 | <para>
|
---|
698 | is a Qt user interface compiler.
|
---|
699 | </para>
|
---|
700 | <indexterm zone="qt5 uic-qt5">
|
---|
701 | <primary sortas="b-uic-qt5">uic</primary>
|
---|
702 | </indexterm>
|
---|
703 | </listitem>
|
---|
704 | </varlistentry>
|
---|
705 |
|
---|
706 | </variablelist>
|
---|
707 |
|
---|
708 | </sect2>
|
---|
709 |
|
---|
710 | </sect1>
|
---|