Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

Deploying a Qt5 Application Linux: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(New structure for the page)
(fix links of cqtdeployer)
 
(3 intermediate revisions by 3 users not shown)
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.
Line 10: Line 11:
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.
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 [https://github.com/probonopd/linuxdeployqt deployment tool] is available that automates the prodecures described here.
A [https://github.com/probonopd/linuxdeployqt deployment tool] is available that automates the prodecures described here and provide an [http://appimage.org/ AppImage].
 
If you want one utility for cross platform deploy use a [https://github.com/QuasarApp/CQtDeployer cqtdeployer tool] for deploy qt on linux and windows.


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

Latest revision as of 09:38, 14 October 2019

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 and provide an AppImage.

If you want one utility for cross platform deploy use a cqtdeployer tool for deploy qt on linux and windows.

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