[6b237ce] | 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 |
|
---|
[640f4c21] | 7 | <!ENTITY qtwebkit-major "5.9">
|
---|
[8dfc5c3] | 8 | <!ENTITY qtwebkit-url "https://download.qt.io/community_releases/&qtwebkit-major;/&qtwebkit-version;-final">
|
---|
[6b237ce] | 9 |
|
---|
| 10 | <!ENTITY qtwebkit-download-http "&qtwebkit-url;/qtwebkit-opensource-src-&qtwebkit-version;.tar.xz">
|
---|
| 11 | <!ENTITY qtwebkit-download-ftp " ">
|
---|
[640f4c21] | 12 | <!ENTITY qtwebkit-md5sum "1fc0ed873cc9326b823a8a83126714f5">
|
---|
[6b237ce] | 13 | <!ENTITY qtwebkit-size "34 MB">
|
---|
[640f4c21] | 14 | <!ENTITY qtwebkit-buildsize "668 MB (38 MB installed)">
|
---|
[83d05304] | 15 | <!ENTITY qtwebkit-time "11 SBU (using parallelism=4)">
|
---|
[6b237ce] | 16 | ]>
|
---|
| 17 |
|
---|
| 18 | <sect1 id="qtwebkit5" xreflabel="QtWebkit-&qtwebkit-version;">
|
---|
| 19 | <?dbhtml filename="qtwebkit5.html" ?>
|
---|
| 20 |
|
---|
| 21 |
|
---|
| 22 | <title>QtWebkit-&qtwebkit-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="qtwebkit5">
|
---|
| 25 | <primary sortas="a-QtWebkit">QtWebkit</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to QtWebkit</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | <application>Qtwebkit</application> is a Qt based web browser engine.
|
---|
| 33 | </para>
|
---|
| 34 |
|
---|
[cf8bec7] | 35 | &lfs82_checked;
|
---|
[6b237ce] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>
|
---|
| 41 | Download (HTTP): <ulink url="&qtwebkit-download-http;"/>
|
---|
| 42 | </para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
| 46 | Download (FTP): <ulink url="&qtwebkit-download-ftp;"/>
|
---|
| 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download MD5 sum: &qtwebkit-md5sum;
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download size: &qtwebkit-size;
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Estimated disk space required: &qtwebkit-buildsize;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Estimated build time: &qtwebkit-time;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 |
|
---|
[d67a6ac6] | 71 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 72 | <itemizedlist spacing="compact">
|
---|
| 73 | <listitem>
|
---|
| 74 | <para>
|
---|
| 75 | Required patch:
|
---|
| 76 | <ulink
|
---|
| 77 | url="&patch-root;/qtwebkit-&qtwebkit-version;-icu_59-1.patch"/>
|
---|
| 78 | </para>
|
---|
| 79 | </listitem>
|
---|
| 80 | </itemizedlist>
|
---|
| 81 |
|
---|
[6b237ce] | 82 | <bridgehead renderas="sect3">Qtwebkit Dependencies</bridgehead>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 85 | <para role="required">
|
---|
[272858d] | 86 | <xref linkend="icu"/>,
|
---|
[6b237ce] | 87 | <xref linkend="libjpeg"/>,
|
---|
| 88 | <xref linkend="libpng"/>,
|
---|
[272858d] | 89 | <xref linkend="libwebp"/>,
|
---|
| 90 | <xref linkend="libxslt"/>,
|
---|
| 91 | <xref linkend="qt5"/>,
|
---|
| 92 | <xref linkend="ruby"/>, and
|
---|
[6b237ce] | 93 | <xref linkend="sqlite"/>
|
---|
| 94 | </para>
|
---|
| 95 |
|
---|
[272858d] | 96 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 97 | <para role="recommended">
|
---|
| 98 | <xref linkend="gst10-plugins-base"/> (HTML5 Video Support)
|
---|
| 99 | </para>
|
---|
| 100 |
|
---|
[6b237ce] | 101 | <para condition="html" role="usernotes">User Notes:
|
---|
| 102 | <ulink url="&blfs-wiki;/qtwebkit"/>
|
---|
| 103 | </para>
|
---|
| 104 | </sect2>
|
---|
| 105 |
|
---|
| 106 | <sect2 role="installation">
|
---|
| 107 | <title>Installation of Qtwebkit</title>
|
---|
| 108 |
|
---|
[d7c71b83] | 109 | <para>
|
---|
| 110 | First, fix a build issue with <application>ICU</application> >= 59:
|
---|
| 111 | </para>
|
---|
| 112 |
|
---|
[d67a6ac6] | 113 | <screen><userinput>patch -Np1 -i ../qtwebkit-&qtwebkit-version;-icu_59-1.patch</userinput></screen>
|
---|
[d7c71b83] | 114 |
|
---|
[640f4c21] | 115 | <para>If desired, adjust the build settings to avoid literally thousands
|
---|
| 116 | of unneeded warning messages:</para>
|
---|
| 117 |
|
---|
| 118 | <screen><userinput>sed -e '/CONFIG/a QMAKE_CXXFLAGS += -Wno-expansion-to-defined' \
|
---|
| 119 | -i Tools/qmake/mkspecs/features/unix/default_pre.prf</userinput></screen>
|
---|
| 120 |
|
---|
[6b237ce] | 121 | <para>
|
---|
| 122 | Install <application>Qtwebkit</application> by running the following commands:
|
---|
| 123 | </para>
|
---|
| 124 |
|
---|
[640f4c21] | 125 | <screen><userinput>mkdir -p build &&
|
---|
[789e7a2] | 126 | cd build &&
|
---|
| 127 |
|
---|
| 128 | qmake ../WebKit.pro &&
|
---|
[640f4c21] | 129 | make</userinput></screen>
|
---|
[6b237ce] | 130 |
|
---|
| 131 | <para>
|
---|
| 132 | This package does not come with a test suite.
|
---|
| 133 | </para>
|
---|
| 134 |
|
---|
| 135 | <para>
|
---|
| 136 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 137 | </para>
|
---|
| 138 |
|
---|
| 139 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 140 |
|
---|
| 141 | <note><para>The installation is automatically made to the
|
---|
| 142 | $QT5DIR directory tree.</para></note>
|
---|
| 143 |
|
---|
| 144 | <para>
|
---|
[640f4c21] | 145 | Remove references to the build directory from installed
|
---|
| 146 | profile include (pri) files by running the following
|
---|
| 147 | command as the <systemitem class="username">root</systemitem> user:
|
---|
[6b237ce] | 148 | </para>
|
---|
| 149 |
|
---|
[640f4c21] | 150 | <screen role="root"><userinput>find $QT5DIR/ -name \*.prl \
|
---|
[6b237ce] | 151 | -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;</userinput></screen>
|
---|
| 152 |
|
---|
| 153 | </sect2>
|
---|
| 154 |
|
---|
| 155 | <sect2 role="commands">
|
---|
| 156 | <title>Command Explanations</title>
|
---|
| 157 |
|
---|
| 158 | <para>
|
---|
| 159 | <command>qmake</command>: is a Qt tool that automates the generation of
|
---|
| 160 | Makefiles.
|
---|
| 161 | </para>
|
---|
| 162 |
|
---|
| 163 | </sect2>
|
---|
| 164 |
|
---|
| 165 | <sect2 role="content">
|
---|
| 166 | <title>Contents</title>
|
---|
| 167 |
|
---|
| 168 | <segmentedlist>
|
---|
| 169 | <segtitle>Installed Programs</segtitle>
|
---|
| 170 | <segtitle>Installed Libraries</segtitle>
|
---|
| 171 | <segtitle>Installed Directories</segtitle>
|
---|
| 172 |
|
---|
| 173 | <seglistitem>
|
---|
| 174 | <seg>
|
---|
| 175 | None
|
---|
| 176 | </seg>
|
---|
| 177 |
|
---|
| 178 | <seg>
|
---|
| 179 | libQt5WebKit.so and
|
---|
| 180 | libQt5WebKitWidgets.so
|
---|
| 181 | </seg>
|
---|
| 182 |
|
---|
| 183 | <seg>
|
---|
| 184 | $QT5PREFIX/qml/QtWebKit,
|
---|
| 185 | $QT5PREFIX/lib/cmake/Qt5WebKit{,Widgets},
|
---|
| 186 | $QT5PREFIX/include/QtWebKit{,Widgets), and
|
---|
| 187 | $QT5PREFIX/plugins/webkit
|
---|
| 188 | </seg>
|
---|
| 189 | </seglistitem>
|
---|
| 190 | </segmentedlist>
|
---|
| 191 |
|
---|
| 192 | </sect2>
|
---|
| 193 |
|
---|
| 194 | </sect1>
|
---|