/usr/share/qt5/doc/qtdoc/linux-requirements.html is in qt5-doc-html 5.9.5-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- linux.qdoc -->
<title>Qt for X11 Requirements | Qt 5.9</title>
<link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
<script type="text/javascript">
document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
// loading style sheet breaks anchors that were jumped to before
// so force jumping to anchor again
setTimeout(function() {
var anchor = location.hash;
// need to jump to different anchor first (e.g. none)
location.hash = "#";
setTimeout(function() {
location.hash = anchor;
}, 0);
}, 0);
</script>
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<table><tr>
<td ><a href="index.html">Qt 5.9</a></td><td >Qt for X11 Requirements</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.5 Reference Documentation</td>
</tr></table>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#platform-plugin-dependencies">Platform Plugin Dependencies</a></li>
<li class="level1"><a href="#opengl-dependencies">OpenGL Dependencies</a></li>
<li class="level1"><a href="#multimedia-dependencies">Multimedia Dependencies</a></li>
<li class="level1"><a href="#qt-webengine-dependencies">Qt WebEngine Dependencies</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Qt for X11 Requirements</h1>
<span class="subtitle"></span>
<!-- $$$linux-requirements.html-description -->
<div class="descr"> <a name="details"></a>
<a name="platform-plugin-dependencies"></a>
<h2 id="platform-plugin-dependencies">Platform Plugin Dependencies</h2>
<p>On Linux, the <i>xcb</i> QPA (Qt Platform Abstraction) platform plugin is used. It provides the basic functionality needed by <a href="../qtgui/qtgui-index.html">Qt GUI</a> and <a href="../qtwidgets/qtwidgets-index.html">Qt Widgets</a> to run against X11. Its library dependencies are described the following table. To build Qt from its source code, you will also need to install the development packages for these libraries for your system.</p>
<p>It's possible to configure Qt with -qt-xcb, which compiles in a set of xcb helper libraries instead of trying to link against the system versions. This can help make Qt less dependent on some of the xcb helper libraries that might not be available on all distributions. The table specifies which dependencies are provided by -qt-xcb.</p>
<div class="table"><table class="generic" width="100%">
<thead><tr class="qt-style"><th >Name</th><th >Library</th><th >Notes</th><th >Configuration options</th><th >Minimum working version</th></tr></thead>
<tr id="OptionalColor"><td >XRender</td><td >libXrender</td><td >X Rendering Extension; used for anti-aliasing and alpha cursor support</td><td ><code>-xrender</code> or auto-detected</td><td >0.9.0</td></tr>
<tr id="OptionalColor"><td >xcb-render</td><td >libxcb-render</td><td >X C Bindings for Render extension</td><td >auto-detected or provided by -qt-xcb</td><td >1.8.1</td></tr>
<tr id="OptionalColor"><td >xcb-render-util</td><td >libxcb-render-util</td><td >Utility library for XCB for Render extension</td><td >auto-detected or provided by -qt-xcb</td><td >0.3.8</td></tr>
<tr id="OptionalColor"><td >xcb-shape</td><td >libxcb-shape</td><td >X C Bindings for Shape extension</td><td >auto-detected or provided by -qt-xcb</td><td >1.8.1</td></tr>
<tr id="DefaultColor"><td >xcb-randr</td><td >libxcb-randr</td><td >X C Bindings for Resize and Rotate Extension</td><td >auto-detected or provided by -qt-xcb</td><td >1.8.1</td></tr>
<tr id="DefaultColor"><td >xcb-xfixes</td><td >libxcb-xfixes</td><td >X C Bindings for Fixes Extension</td><td >auto-detected or provided by -qt-xcb</td><td >1.8.1</td></tr>
<tr id="DefaultColor"><td >xcb-sync</td><td >libxcb-sync</td><td >X C Bindings for Sync Extension</td><td >auto-detected or provided by -qt-xcb</td><td >1.8.1</td></tr>
<tr id="DefaultColor"><td >xcb-shm</td><td >libxcb-shm</td><td >X C Bindings for Shared Memory Extension</td><td >auto-detected or provided by -qt-xcb</td><td >1.8.1</td></tr>
<tr id="DefaultColor"><td >xcb-icccm</td><td >libxcb-icccm</td><td >X C Bindings for ICCCM Protocol</td><td >auto-detected or provided by -qt-xcb</td><td >0.3.9</td></tr>
<tr id="DefaultColor"><td >xcb-keysyms</td><td >libxcb-keysyms</td><td >Utility library for XCB for keycode conversion</td><td >auto-detected or provided by -qt-xcb</td><td >0.3.9</td></tr>
<tr id="DefaultColor"><td >xcb-image</td><td >libxcb-image</td><td >Utility library for XCB for XImage and XShmImage, used for <a href="../qtgui/qbackingstore.html">QBackingStore</a> and cursor support</td><td >auto-detected or provided by -qt-xcb</td><td >0.3.9</td></tr>
<tr id="OptionalColor"><td >Fontconfig</td><td >libfontconfig</td><td >Font customization and configuration</td><td ><code>-fontconfig</code> or auto-detected</td><td >2.6</td></tr>
<tr id="OptionalColor"><td ><a href="qt-embedded-fonts.html#freetype">FreeType</a></td><td >libfreetype</td><td >Font engine</td><td ></td><td >2.2.0</td></tr>
<tr id="DefaultColor"><td >Xi</td><td >libXi</td><td >X11 Input Extensions</td><td ><code>-xinput</code> or auto-detected</td><td >1.3.0</td></tr>
<tr id="DefaultColor"><td >Xext</td><td >libXext</td><td >X Extensions</td><td ></td><td >6.4.3</td></tr>
<tr id="DefaultColor"><td >X11</td><td >libX11</td><td >X11 client-side library</td><td ></td><td >6.2.1</td></tr>
<tr id="DefaultColor"><td >xcb</td><td >libxcb</td><td >X C Binding library</td><td ></td><td >1.8.1</td></tr>
<tr id="DefaultColor"><td >X11-xcb</td><td >libX11-xcb</td><td >Xlib/XCB interface library</td><td ></td><td >1.3.2</td></tr>
<tr id="SMColor"><td >SM</td><td >libSM</td><td >X Session Management</td><td ><code>-sm</code> or auto-detected</td><td >6.0.4</td></tr>
<tr id="SMColor"><td >ICE</td><td >libICE</td><td >Inter-Client Exchange</td><td ><code>-sm</code> or auto-detected</td><td >6.3.5</td></tr>
<tr id="GlibColor"><td >glib</td><td >libglib-2.0</td><td >Common event loop handling</td><td ><code>-glib</code> or auto-detected</td><td >2.8.3</td></tr>
<tr id="PthreadColor"><td >pthread</td><td >libpthread</td><td >Multithreading</td><td ></td><td >2.3.5</td></tr>
</table></div>
<p>Development packages for these libraries contain header files that are used when building Qt from its source code. On Debian-based GNU/Linux systems, for example, we recommend that you install the following development packages:</p>
<ul>
<li>libfontconfig1-dev</li>
<li>libfreetype6-dev</li>
<li>libx11-dev</li>
<li>libxext-dev</li>
<li>libxfixes-dev</li>
<li>libxi-dev</li>
<li>libxrender-dev</li>
<li>libxcb1-dev</li>
<li>libx11-xcb-dev</li>
<li>libxcb-glx0-dev</li>
</ul>
<p>Additionally, if you do not configure with -qt-xcb, you should also install these development packages:</p>
<ul>
<li>libxcb-keysyms1-dev</li>
<li>libxcb-image0-dev</li>
<li>libxcb-shm0-dev</li>
<li>libxcb-icccm4-dev</li>
<li>libxcb-sync0-dev</li>
<li>libxcb-xfixes0-dev</li>
<li>libxcb-shape0-dev</li>
<li>libxcb-randr0-dev</li>
<li>libxcb-render-util0-dev</li>
</ul>
<p>Some of these packages depend on others in this list, so installing one may cause others to be automatically installed. Other distributions may provide system packages with similar names.</p>
<a name="opengl-dependencies"></a>
<h2 id="opengl-dependencies">OpenGL Dependencies</h2>
<p>Configure attempts to automatically detect OpenGL ES 2.0, or later, or regular desktop OpenGL. You can disable OpenGL support by using the <code>-no-opengl</code> option.</p>
<p><b>Note: </b>The Qt OpenGL module (which contains classes that start with <i>QGL</i>) has been deprecated in favor of the <a href="../qtgui/qtgui-index.html">Qt GUI</a> module (which contains classes that start with <i>QOpenGL</i>).</p><a name="multimedia-dependencies"></a>
<h2 id="multimedia-dependencies">Multimedia Dependencies</h2>
<p>As described in the <a href="qt5-intro.html#multimedia">Multimedia</a> overview, Qt Multimedia uses the GStreamer multimedia framework as the backend for audio and video playback on Linux. The minimum required version of GStreamer is 0.10.24. The 1.x series is also supported.</p>
<p>To build Qt Multimedia, you need the GStreamer library, base plugins, and development files for your system. To run applications that use Qt Multimedia, you might also need to install the following GStreamer plugins: 'good', 'ugly', 'bad', ffmpeg (0.10), and libav (1.x). These additional plugins contain various codecs for audio and video decoding, as well as the necessary components for using the camera APIs. The package names for GStreamer vary between Linux distributions; try searching for <code>gstreamer</code> or <code>libgstreamer</code> in your distribution's package repository to find suitable packages.</p>
<a name="qt-webengine-dependencies"></a>
<h2 id="qt-webengine-dependencies">Qt WebEngine Dependencies</h2>
<p><a href="../qtwebengine/qtwebengine-index.html">Qt WebEngine</a> has additional build requirements which are listed in the <a href="../qtwebengine/qtwebengine-platform-notes.html">Qt WebEngine Platform Notes</a>.</p>
</div>
<!-- @@@linux-requirements.html -->
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2017 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|