All Projects → linuxdeploy → linuxdeploy-plugin-qt

linuxdeploy / linuxdeploy-plugin-qt

Licence: MIT license
Qt plugin for linuxdeploy, bundling Qt resources, plugins, QML files and a lot more.

Programming Languages

C++
36643 projects - #6 most used programming language
shell
77523 projects
CMake
9771 projects
Dockerfile
14818 projects
QML
638 projects

Projects that are alternatives of or similar to linuxdeploy-plugin-qt

Sielo Legacy
An open source browser made with Qt and WebEngine
Stars: ✭ 113 (+82.26%)
Mutual labels:  appimage
Go Appimage
Go implementation of AppImage tools. Still experimental
Stars: ✭ 156 (+151.61%)
Mutual labels:  appimage
app-get
AppImages manager via command line
Stars: ✭ 23 (-62.9%)
Mutual labels:  appimage
Duckstation
Fast PlayStation 1 emulator for x86-64/AArch32/AArch64
Stars: ✭ 2,888 (+4558.06%)
Mutual labels:  appimage
Bottles
🌠 Easily manage 🍷prefix in a new way! (Run Windows software and games on Linux)
Stars: ✭ 147 (+137.1%)
Mutual labels:  appimage
Linuxdeploy
AppDir creation and maintenance tool. Featuring flexible plugin system.
Stars: ✭ 194 (+212.9%)
Mutual labels:  appimage
Linuxdeployqt
Makes Linux applications self-contained by copying in the libraries and plugins that the application uses, and optionally generates an AppImage. Can be used for Qt and other applications
Stars: ✭ 1,287 (+1975.81%)
Mutual labels:  appimage
zap
⚡ Delightful AppImage package manager
Stars: ✭ 354 (+470.97%)
Mutual labels:  appimage
Poddr
Podcatcher made with Electron and Angular
Stars: ✭ 149 (+140.32%)
Mutual labels:  appimage
AppMan
A portable AppImage manager that installs, removes, updates and manages software (locally) like APT or Pacman do.
Stars: ✭ 36 (-41.94%)
Mutual labels:  appimage
Walc
An unofficial WhatsApp Desktop client for linux systems.
Stars: ✭ 116 (+87.1%)
Mutual labels:  appimage
App Outlet
A Universal linux app store
Stars: ✭ 131 (+111.29%)
Mutual labels:  appimage
Drill
Search files without indexing, but clever crawling
Stars: ✭ 224 (+261.29%)
Mutual labels:  appimage
Galacteek
Browser for the distributed web
Stars: ✭ 114 (+83.87%)
Mutual labels:  appimage
PhotoMP
The AppImage version of GIMP for those who come from Photoshop.
Stars: ✭ 68 (+9.68%)
Mutual labels:  appimage
Awesome Appimage
Lovingly crafted AppImage tools and resources
Stars: ✭ 101 (+62.9%)
Mutual labels:  appimage
Appimage.github.io
Given an URL to an AppImage, AppImageHub inspects the AppImage and puts it into a community-maintained catalog
Stars: ✭ 163 (+162.9%)
Mutual labels:  appimage
deb2appimage
Build AppImages from deb packages on any distro with simple json configuration
Stars: ✭ 85 (+37.1%)
Mutual labels:  appimage
netease-cloud-music-appimage
netease-cloud-music AppImage
Stars: ✭ 40 (-35.48%)
Mutual labels:  appimage
WALC
An unofficial WhatsApp Desktop client for linux systems.
Stars: ✭ 212 (+241.94%)
Mutual labels:  appimage

linuxdeploy-plugin-qt

Plugin for linuxdeploy to bundle Qt dependencies of applications and libraries. It supports the Qt versions 5 and 6.

About

linuxdeploy is a tool to create and maintain AppDirs, which can be turned into application bundles like AppImages.

linuxdeploy-plugin-qt is a bundling plugin for linuxdeploy. If an application uses Qt, linuxdeploy-plugin-qt will bundle all the Qt plugins and resources such as QML files or translations.

As linuxdeploy plugins are standalone applications, this software can also be run standalone. However, usage as a plugin from linuxdeploy is highly encouraged.

Usage

As all linuxdeploy plugins, linuxdeploy-plugin-qt is a standalone tool implementing the so-called Plugin Specification. Therefore, there's two ways of using it: in "plugin mode" (i.e., together with linuxdeploy), or "standalone mode" (i.e., calling it directly).

The most widely and also recommended method is to use it together with linuxdeploy.

Plugin mode

Just download the plugin's official AppImage, and put it next to linuxdeploy's AppImage (alternatively, put it into one of the other search locations). Make sure the AppImage is executable, otherwise it cannot be called by linuxdeploy.

To enable the plugin, just call linuxdeploy as follows:

$ ./linuxdeploy-x86_64.AppImage --appdir AppDir [...] --plugin qt [...]

That's it! All you have to add is --plugin qt, and the plugin will be called by linuxdeploy.

Note: If the application doesn't use Qt, linuxdeploy-plugin-qt will return an error. That's expected behavior, as it might help discover issues when a program is expected to use Qt but suddenly does not any more.

Standalone mode

To use linuxdeploy-plugin-standalone, download the official AppImage, make it executable and run it like:

./linuxdeploy-plugin-qt-x86_64.AppImage --appdir AppDir

linuxdeploy-plugin-qt will look for Qt libraries in the library directory usr/lib/ and deploy the Qt plugins and other resources for these. This means that if linuxdeploy or another tool haven't been run on the AppDir yet, i.e., no Qt libraries have been deployed yet, linuxdeploy-plugin-qt won't be able to recognize which plugins and resources have to be deployed, and will return an error.

Environment variables

Just like all linuxdeploy plugins, the Qt plugin's behavior can be configured some environment variables.

General:

  • $DEBUG=1: enables verbose output, useful for debugging (equal to linuxdeploy's -v0)
  • $LD_LIBRARY_PATH=pathA:pathB: Paths to check for library dependencies (see man ld.so for more information)

Qt specific:

  • $QMAKE=/path/to/my/qmake: use another qmake binary to detect paths of plugins and other resources (usually doesn't need to be set manually, most Qt environments ship scripts changing $PATH)
  • $EXTRA_QT_PLUGINS=pluginA;pluginB: Plugins to deploy even if not found automatically by linuxdeploy-plugin-qt
  • $EXTRA_PLATFORM_PLUGINS=platformA;platformB: Platforms to deploy in addition to libqxcb.so. Platform must be available from QT_INSTALL_PLUGINS/platforms.

QML related:

  • $QML_SOURCES_PATHS: directory containing the application's QML files — useful/needed if QML files are "baked" into the binaries. $QT_INSTALL_QML is prepended to this list internally.
  • $QML_MODULES_PATHS: extra directories containing imported QML files (normally doesn't need to be specified).
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].