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