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