You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,16 +50,19 @@ linuxdeploy-plugin-qt will look for Qt libraries in the library directory `usr/l
50
50
51
51
Just like all linuxdeploy plugins, the Qt plugin's behavior can be configured some environment variables.
52
52
53
-
**General:**
53
+
#### General
54
54
-`$DEBUG=1`: enables verbose output, useful for debugging (equal to linuxdeploy's `-v0`)
55
55
-`$LD_LIBRARY_PATH=pathA:pathB`: Paths to check for library dependencies (see `man ld.so` for more information)
56
56
57
-
**Qt specific:**
57
+
#### Qt specific
58
58
-`$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`)
59
59
-`$EXTRA_QT_MODULES=moduleA;moduleB`: Modules to deploy even if not found automatically by linuxdeploy-plugin-qt
60
60
- example: `EXTRA_QT_MODULES=svg;` if you want to use the module [QtSvg](https://doc.qt.io/qt-5/qtsvg-index.html)
61
+
-`$EXTRA_QT_PLUGINS=pluginA;pluginB`: extra Qt plugins to deploy
62
+
- To support Wayland, add `waylandcompositor` to this variable
61
63
-`$EXTRA_PLATFORM_PLUGINS=platformA;platformB`: Platforms to deploy in addition to `libqxcb.so`. Platform must be available from `QT_INSTALL_PLUGINS/platforms`.
64
+
- To support Wayland, add `libqwayland-egl.so;libqwayland-generic.so`
62
65
63
-
QML related:
66
+
##### QML related:
64
67
-`$QML_SOURCES_PATHS`: directory containing the application's QML files — useful/needed if QML files are "baked" into the binaries. linuxdeploy-plugin-qt will look for all imported QML modules and include them. `$QT_INSTALL_QML` is prepended to this list internally.
65
68
-`$QML_MODULES_PATHS`: extra directories containing imported QML files (normally doesn't need to be specified).
0 commit comments