Deploying a Qt5 Application Linux: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(New structure for the page)
(Add to HowTo)
Line 1: Line 1:
[[Category:HowTo]]
{{LangSwitch}}
{{LangSwitch}}
There are multiple ways to deploy a Qt 5 application for desktop Linux systems. One is to create native distribution packages that have dependencies on the distribution's Qt installation, another is to create a self-contained application bundle that contains the application and everything the application needs to run that cannot be expected to be present on each target system, and still another is to create an installer for it.
There are multiple ways to deploy a Qt 5 application for desktop Linux systems. One is to create native distribution packages that have dependencies on the distribution's Qt installation, another is to create a self-contained application bundle that contains the application and everything the application needs to run that cannot be expected to be present on each target system, and still another is to create an installer for it.

Revision as of 16:12, 23 November 2016

En Ar Bg De El Es Fa Fi Fr Hi Hu It Ja Kn Ko Ms Nl Pl Pt Ru Sq Th Tr Uk Zh

There are multiple ways to deploy a Qt 5 application for desktop Linux systems. One is to create native distribution packages that have dependencies on the distribution's Qt installation, another is to create a self-contained application bundle that contains the application and everything the application needs to run that cannot be expected to be present on each target system, and still another is to create an installer for it.

Creating native distribution packages

Different distributions do this differently. Please refer to the particular distribution's developer guidelines.

Creating a standalone application bundle

Deploying a Qt5 application for Linux as a standalone bundle involves bundling it with the necessary Qt components that are needed for the application to run. These can be Qt libraries, Qt plugins, and especially the Qt platform plugin.

A deployment tool is available that automates the prodecures described here.

Section to be expanded. In the meantime, see http://doc.qt.io/qt-4.8/deployment-x11.html

Creating an installer using the Qt Installer Framework

See http://doc.qt.io/qtinstallerframework/

Categories