mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 15:37:16 +08:00
167 lines
4.6 KiB
XML
167 lines
4.6 KiB
XML
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
||
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||
|
%general-entities;
|
||
|
|
||
|
<!ENTITY qt5-major "5.15">
|
||
|
<!ENTITY qt5-url "https://download.qt.io/archive/qt/&qt5-major;/&qt5-version;/single">
|
||
|
|
||
|
<!ENTITY qt5-download-http "&qt5-url;/qt-everywhere-opensource-src-&qt5-version;.tar.xz">
|
||
|
<!ENTITY qt5-download-ftp " ">
|
||
|
<!ENTITY qt5-md5sum "fb41d86bea6bc4886030a5092c910b09">
|
||
|
<!ENTITY qt5-size "varies">
|
||
|
<!ENTITY qt5-buildsize "varies">
|
||
|
<!ENTITY qt5-time "varies">
|
||
|
]>
|
||
|
|
||
|
<sect1 id="qt5-components" xreflabel="qt-components-&qt5-version;">
|
||
|
<?dbhtml filename="qt5-components.html" ?>
|
||
|
|
||
|
<title>qt-components-&qt5-version;</title>
|
||
|
|
||
|
<indexterm zone="qt5-components">
|
||
|
<primary sortas="a-Qt-components">Qt Components</primary>
|
||
|
</indexterm>
|
||
|
|
||
|
<sect2 role="package">
|
||
|
<title>Introduction to qt5 comonents</title>
|
||
|
|
||
|
<para>
|
||
|
These instructions show how to build additional Qt5 components beyond
|
||
|
<xref linkend="qt5-alternate"/>. They are not applicable if the
|
||
|
full <xref linkend="qt5"/> package has been built.
|
||
|
</para>
|
||
|
|
||
|
&lfs113_checked;
|
||
|
|
||
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||
|
<itemizedlist spacing="compact">
|
||
|
<listitem>
|
||
|
<para>
|
||
|
Download (HTTP): <ulink url="&qt5-download-http;"/>
|
||
|
</para>
|
||
|
</listitem>
|
||
|
<listitem>
|
||
|
<para>
|
||
|
Download (FTP): <ulink url="&qt5-download-ftp;"/>
|
||
|
</para>
|
||
|
</listitem>
|
||
|
<listitem>
|
||
|
<para>
|
||
|
Download MD5 sum: &qt5-md5sum;
|
||
|
</para>
|
||
|
</listitem>
|
||
|
<!--
|
||
|
<listitem>
|
||
|
<para>
|
||
|
Download size: &qt5-size;
|
||
|
</para>
|
||
|
</listitem>
|
||
|
<listitem>
|
||
|
<para>
|
||
|
Estimated disk space required: &qt5-buildsize;
|
||
|
</para>
|
||
|
</listitem>
|
||
|
<listitem>
|
||
|
<para>
|
||
|
Estimated build time: &qt5-time;
|
||
|
</para>
|
||
|
</listitem>
|
||
|
-->
|
||
|
</itemizedlist>
|
||
|
|
||
|
<bridgehead renderas="sect3">qt5 components Dependencies</bridgehead>
|
||
|
|
||
|
<bridgehead renderas="sect4">Required</bridgehead>
|
||
|
<para role="required">
|
||
|
<xref linkend="qt5-alternate"/>
|
||
|
</para>
|
||
|
|
||
|
<bridgehead renderas="sect4">Recommended dependencies for qtimageformats</bridgehead>
|
||
|
<para role="recommended">
|
||
|
<xref linkend="jasper"/>,
|
||
|
<xref linkend="libmng"/>, and
|
||
|
<xref linkend="libwebp"/>
|
||
|
</para>
|
||
|
|
||
|
<bridgehead renderas="sect4">Recommended dependencies for multimedia</bridgehead>
|
||
|
<para role="recommended">
|
||
|
<xref linkend="gst10-plugins-good"/>,
|
||
|
<xref linkend="gst10-plugins-bad"/>, and
|
||
|
<xref linkend="gst10-plugins-ugly"/>
|
||
|
</para>
|
||
|
|
||
|
<!--
|
||
|
<para condition="html" role="usernotes">
|
||
|
Editor Notes: <ulink url="&blfs-wiki;/qt5"/>
|
||
|
</para>
|
||
|
-->
|
||
|
</sect2>
|
||
|
|
||
|
<sect2 role="installation">
|
||
|
<title>Installation of qt5 components</title>
|
||
|
|
||
|
<para>
|
||
|
There are a few extra components needed for different packages in BLFS.
|
||
|
These are qtimageformats, qtlocation, qtwebchannel, qtdoc, and
|
||
|
qtmultimedia. Only those components specified for a specific
|
||
|
package are needed. You only need to build the relevant component(s).
|
||
|
</para>
|
||
|
|
||
|
<para>
|
||
|
Install each desired component by running the following commands:
|
||
|
</para>
|
||
|
|
||
|
<screen><userinput role="nodep">cd <component>
|
||
|
qmake <component>.pro
|
||
|
make</userinput></screen>
|
||
|
|
||
|
<para>
|
||
|
As the &root; user:
|
||
|
</para>
|
||
|
|
||
|
<screen role="root"><userinput>make install</userinput></screen>
|
||
|
|
||
|
<!-- EDITORS NOTE: This package uses INSTALL_ROOT= instead of DESTDIR= for
|
||
|
installing in a temporary directory. -->
|
||
|
|
||
|
<para>
|
||
|
Remove references to the build directory from installed library
|
||
|
dependency (prl) files by running the following
|
||
|
command as the &root; user:
|
||
|
</para>
|
||
|
|
||
|
<screen role="root"><userinput>find $QT5DIR/ -name \*.prl \
|
||
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;</userinput></screen>
|
||
|
|
||
|
|
||
|
</sect2>
|
||
|
|
||
|
<sect2 role="content">
|
||
|
<title>Contents</title>
|
||
|
|
||
|
<segmentedlist>
|
||
|
<segtitle>Installed Programs</segtitle>
|
||
|
<segtitle>Installed Libraries</segtitle>
|
||
|
<segtitle>Installed Directories</segtitle>
|
||
|
|
||
|
<seglistitem>
|
||
|
<seg>
|
||
|
None
|
||
|
</seg>
|
||
|
<seg>
|
||
|
libQt5<component>.so,
|
||
|
</seg>
|
||
|
<seg>
|
||
|
$QTDIR/qml/<component>
|
||
|
$QTDIR/lib/<component>
|
||
|
$QTDIR/include/<component>
|
||
|
</seg>
|
||
|
</seglistitem>
|
||
|
</segmentedlist>
|
||
|
|
||
|
</sect2>
|
||
|
|
||
|
</sect1>
|