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
(add AppImage link) |
m (added link to qtdeployer tool for cross platform deploy deploy qt) |
||
Line 11: | 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 and provide an [http://appimage.org/ AppImage] | 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/Console-QtDeployer 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 |
Revision as of 07:47, 24 July 2019
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/