This file is indexed.

/usr/share/qt5/doc/qtdoc/deployment.html is in qt5-doc-html 5.5.1-1.

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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- deployment.qdoc -->
  <title>Deploying Qt Applications | Qt 5.5 </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.5</a></li>
<li>Deploying Qt Applications</li>
<li id="buildversion">Qt 5.5.1 Reference Documentation</li>
    </ul>
    </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="#static-vs-shared-libraries">Static vs. Shared Libraries</a></li>
<li class="level1"><a href="#deploying-qt-s-libraries">Deploying Qt's Libraries</a></li>
<li class="level1"><a href="#licensing">Licensing</a></li>
<li class="level1"><a href="#platform-specific-notes">Platform-Specific Notes</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Deploying Qt Applications</h1>
<span class="subtitle"></span>
<!-- $$$deployment.html-description -->
<div class="descr"> <a name="details"></a>
<p>Deploying an Qt application does not require any C++ programming. All you need to do is to build Qt and your application in release mode, following the procedures described in this documentation. We will demonstrate the procedures in terms of deploying the <a href="../qtwidgets/qtwidgets-tools-plugandpaint-example.html">Plug &amp; Paint</a> application that is provided in Qt's examples directory.</p>
<a name="static-vs-shared-libraries"></a>
<h2 id="static-vs-shared-libraries">Static vs. Shared Libraries</h2>
<p>There are two ways of deploying an application:</p>
<ul>
<li>Static Linking</li>
<li>Shared Libraries (Frameworks on Mac)</li>
</ul>
<p>Static linking results in a stand-alone executable. The advantage is that you will only have a few files to deploy. The disadvantages are that the executables are large and with no flexibility (i.e a new version of the application, or of Qt, will require that the deployment process is repeated), and that you cannot deploy plugins.</p>
<p>To deploy plugin-based applications, you can use the shared library approach. Shared libraries also provide smaller, more flexible executables. For example, using the shared library approach, the user is able to independently upgrade the Qt library used by the application.</p>
<p>Another reason why you might want to use the shared library approach, is if you want to use the same Qt libraries for a family of applications. In fact, if you download the binary installation of Qt, you get Qt as a shared library.</p>
<p>The disadvantage with the shared library approach is that you will get more files to deploy. For more information, see <a href="sharedlibrary.html">Creating Shared Libraries</a>.</p>
<a name="deploying-qt-s-libraries"></a>
<h2 id="deploying-qt-s-libraries">Deploying Qt's Libraries</h2>
<div class="table"><table class="generic">
 <thead><tr class="qt-style"><th  colspan="4">Qt Libraries</th></tr></thead>
<tr valign="top" class="odd"><td ><a href="../qtcore/qtcore-index.html">QtCore</a></td><td ><a href="../qtnetwork/qtnetwork-index.html">QtNetwork</a></td><td ><a href="../qtgui/qtgui-index.html">QtGui</a></td><td ><a href="../qtsql/qtsql-index.html">QtSql</a></td></tr>
<tr valign="top" class="even"><td ><a href="../qttestlib/qttest-index.html">QtTest</a></td><td ><a href="../qtwidgets/qtwidgets-index.html">QtWidgets</a></td><td ><a href="../qtqml/qtqml-index.html">QtQml</a></td><td ><a href="../qtquick/qtquick-index.html">QtQuick</a></td></tr>
<tr valign="top" class="odd"><td ><a href="../qtmultimedia/qtmultimedia-index.html">QtMultimedia</a></td><td ><a href="../qtwebkit/qtwebkit-index.html">QtWebKit</a></td><td ><a href="../qtwebkit/qtwebkitwidgets-index.html">QtWebKitWidgets</a></td><td ><a href="../qtxml/qtxml-index.html">QtXml</a></td></tr>
<tr valign="top" class="even"><td ><a href="../qtxmlpatterns/qtxmlpatterns-index.html">QtXmlPatterns</a></td><td ><a href="../qtsvg/qtsvg-index.html">QtSvg</a></td><td ><a href="../qtconcurrent/qtconcurrent-index.html">QtConcurrent</a></td><td ><a href="../qtprintsupport/qtprintsupport-index.html">QtPrintSupport</a></td></tr>
<tr valign="top" class="odd"><td ><a href="../qtdbus/qtdbus-index.html">QtDBus</a></td><td ><a href="../qtopengl/qtopengl-index.html">QtOpenGL</a></td><td >QtActiveQt</td><td ><a href="../qtgraphicaleffects/qtgraphicaleffects-index.html">QtGraphicalEffects</a></td></tr>
<tr valign="top" class="even"><td ><a href="../qtscript/qtscript-index.html">QtScript</a></td><td ><a href="qtquick-porting-qt5.html#qt-quick-1">QtDeclarative</a></td><td >QtImageFormats</td></tr>
</table></div>
<p>Qt is not a system library, so it must be redistributed with your application. The minimum is to redistribute the run-time of the libraries used by the application. However, with static linking, the Qt run-times can be compiled into the executable.</p>
<p>In general, you should deploy all plugins that your Qt build uses, excluding those that you have identified as unnecessary for your application and its users.</p>
<p>For instance, you may need to deploy plugins for JPEG support and SQL drivers, but you should also deploy plugins that your users may require, including those for accessibility. For more information about plugins, see <a href="plugins-howto.html">How to Create Qt Plugins</a>.</p>
<p>While deploying an application using the shared library approach, you must ensure that the Qt libraries use the correct path to find the Qt plugins, documentation, translation, and so on. To do this, you can use a <code>qt.conf</code> file. For more information, see <a href="qt-conf.html">Using qt.conf</a>.</p>
<p>Depending on configuration, compiler-specific libraries must be redistributed as well. For more information, see the platform-specific application dependencies for <a href="linux-deployment.html#application-dependencies">X11</a>, <a href="windows-deployment.html#application-dependencies">Windows</a>, and <a href="osx.html">OS X</a>.</p>
<a name="licensing"></a>
<h2 id="licensing">Licensing</h2>
<p>Some of Qt's libraries are based on third party libraries that are not licensed using the same dual-license model as Qt. As a result, care must be taken when deploying applications that use these libraries, particularly when the application is statically linked to them.</p>
<p>The following table summarizes a few issues that you should be aware of.</p>
<div class="table"><table class="generic">
 <thead><tr class="qt-style"><th >Qt Library</th><th >Dependency</th><th >Licensing Issue</th></tr></thead>
<tr valign="top" class="odd"><td ><a href="../qthelp/qthelp-module.html">QtHelp</a></td><td >CLucene</td><td >The version of clucene distributed with Qt is licensed under the GNU LGPL version 2.1 or later. This has implications for developers of closed source applications. Please see the <a href="../qthelp/qthelp-index.html#license-information">Qt Help</a> documentation for more information.</td></tr>
<tr valign="top" class="even"><td ><a href="../qtnetwork/qtnetwork-module.html">QtNetwork</a></td><td >OpenSSL</td><td >Some configurations of <a href="../qtnetwork/qtnetwork-module.html">QtNetwork</a> use OpenSSL at run-time. Deployment of OpenSSL libraries is subject to both licensing and export restrictions. More information can be found in the <a href="../qtnetwork/ssl.html">Secure Sockets Layer (SSL) Classes</a> documentation.</td></tr>
<tr valign="top" class="odd"><td ><a href="../qtwebkit/qtwebkit-qmlmodule.html">QtWebKit</a></td><td >WebKit</td><td >WebKit is licensed under the GNU LGPL version 2 or later. This has implications for developers of closed source applications. Please see the <a href="../qtwebkit/qtwebkitwidgets-index.html#license-information">Qt WebKit Widgets</a> documentation for more information.</td></tr>
</table></div>
<a name="platform-specific-notes"></a>
<h2 id="platform-specific-notes">Platform-Specific Notes</h2>
<p>The procedure of deploying Qt applications is different for the various platforms:</p>
<ul>
<li><a href="linux-deployment.html">Qt for X11 Platforms</a></li>
<li><a href="windows-deployment.html">Qt for Windows</a></li>
<li><a href="osx.html#deploying-applications-on-os-x">Qt for OS X</a></li>
<li><a href="deployment-android.html">Qt for Android</a></li>
</ul>
</div>
<p><b>See also </b><a href="../qtlinguist/linguist-programmers.html#deploying-translations">Deploying Translations</a>.</p>
<!-- @@@deployment.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2015 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>