/usr/share/qt5/doc/qtdoc/linux.html is in qt5-doc-html 5.3.2-3.
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 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- linux.qdoc -->
<title>Qt for Linux/X11 | QtDoc 5.3</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul>
<li><a href="index.html">Qt 5.3</a></li>
<li>Qt for Linux/X11</li>
<li id="buildversion">
Qt 5.3.2 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#downloading-and-installing-qt">Downloading and Installing Qt</a></li>
<li class="level2"><a href="#requirements-for-development-host">Requirements for Development Host</a></li>
<li class="level3"><a href="#debian-ubuntu-apt-get">Debian/Ubuntu (apt-get)</a></li>
<li class="level3"><a href="#fedora-rhel-centos-yum">Fedora/RHEL/CentOS (yum)</a></li>
<li class="level3"><a href="#opensuse-zypper">openSUSE (zypper)</a></li>
<li class="level2"><a href="#building-qt-5-from-source">Building Qt 5 from Source</a></li>
<li class="level1"><a href="#deployment-and-other-issues">Deployment and Other Issues</a></li>
<li class="level1"><a href="#where-to-go-from-here">Where to Go from Here</a></li>
</ul>
</div>
<h1 class="title">Qt for Linux/X11</h1>
<span class="subtitle"></span>
<!-- $$$linux.html-description -->
<div class="descr"> <a name="details"></a>
<p>Qt's support for different Linux platforms is extensive and mature.</p>
<a name="downloading-and-installing-qt"></a>
<h2>Downloading and Installing Qt</h2>
<p>There are two ways to install Qt:</p>
<ol class="1">
<li>through the Qt Installers - downloads and installs Qt</li>
<li>through the <i>Qt sources</i>.</li>
</ol>
<p>You can download the Qt 5 installers and sources from the <a href="http://qt-project.org/downloads">Downloads</a> page. For more information, visit the <a href="gettingstarted.html">Getting Started with Qt</a> page.</p>
<p><b>Note: </b>Qt Enterprise packages are available from the <a href="http://qt.digia.com/Try-Buy/">Try Qt Enterprise</a> page.</p><a name="requirements-for-development-host"></a>
<h3>Requirements for Development Host</h3>
<p>The Qt installers for Linux assume that a C++ compiler, debugger, make, and other development tools are provided by the host operating system. In addition, building graphical Qt applications requires <a href="../qtopengl/opengl-module.html">OpenGL</a> libraries and headers installed. Most Linux distributions do not install all of these by default, but setting up a development environment is still straightforward.</p>
<p>Use the following commands to install the basic requirements for building Qt applications:</p>
<a name="debian-ubuntu-apt-get"></a>
<h4>Debian/Ubuntu (apt-get)</h4>
<pre class="cpp">sudo apt-get install build-essential libgl1-mesa-dev</pre>
<a name="fedora-rhel-centos-yum"></a>
<h4>Fedora/RHEL/CentOS (yum)</h4>
<pre class="cpp">sudo yum groupinstall "C Development Tools and Libraries"
sudo yum install mesa-libGL-devel</pre>
<a name="opensuse-zypper"></a>
<h4>openSUSE (zypper)</h4>
<pre class="cpp">sudo zypper install -t pattern devel_basis</pre>
<a name="building-qt-5-from-source"></a>
<h3>Building Qt 5 from Source</h3>
<p>You can also build Qt 5 from the source package and configure it according to your target platform. The source packages are obtained from <a href="http://qt-project.org/downloads">http://qt-project.org/downloads</a>.</p>
<p>Below, you will find more information about building Qt from source.</p>
<ul>
<li><a href="linux-requirements.html">Qt for X11 Requirements</a></li>
<li><a href="linux-building.html">Qt for Linux/X11 - Building from Source</a></li>
</ul>
<a name="deployment-and-other-issues"></a>
<h2>Deployment and Other Issues</h2>
<p>The pages below covers specific issues and recommendations for creating Linux/X11 applications.</p>
<ul>
<li><a href="linux-deployment.html">Qt for Linux/X11 - Deployment</a></li>
<li><a href="linux-issues.html">Qt for Linux/X11 - Specific Issues</a></li>
</ul>
<a name="where-to-go-from-here"></a>
<h2>Where to Go from Here</h2>
<p>We invite you to explore the rest of Qt. We prepared overviews which help you decide which APIs to use and our examples demonstrate how to use our API.</p>
<ul>
<li><a href="overviews-main.html">Qt Overviews</a> - list of topics about application development</li>
<li><a href="qtexamplesandtutorials.html">Examples and Tutorials</a> - code samples and tutorials</li>
<li><a href="reference-overview.html">Qt Reference Pages</a> - a listing of C++ and QML APIs</li>
<li><a href="../qtx11extras/qtx11extras-index.html">Qt X11 Extras</a> - provides additional APIs for X11</li>
</ul>
<p>Qt's vibrant and active community site, <a href="http://qt-project.org">http://qt-project.org</a> houses a wiki, a forum, and additional learning guides and presentations.</p>
</div>
<!-- @@@linux.html -->
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2014 Digia Plc and/or its
subsidiaries. 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> Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|