Skip to content

Commit af7de83

Browse files
authored
readme: Qt: add info for adding Wayland support
Found the information in linuxdeploy#157
1 parent 594db2c commit af7de83

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,19 @@ linuxdeploy-plugin-qt will look for Qt libraries in the library directory `usr/l
5050

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

53-
**General:**
53+
#### General
5454
- `$DEBUG=1`: enables verbose output, useful for debugging (equal to linuxdeploy's `-v0`)
5555
- `$LD_LIBRARY_PATH=pathA:pathB`: Paths to check for library dependencies (see `man ld.so` for more information)
5656

57-
**Qt specific:**
57+
#### Qt specific
5858
- `$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`)
5959
- `$EXTRA_QT_MODULES=moduleA;moduleB`: Modules to deploy even if not found automatically by linuxdeploy-plugin-qt
6060
- 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
6163
- `$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`
6265

63-
QML related:
66+
##### QML related:
6467
- `$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.
6568
- `$QML_MODULES_PATHS`: extra directories containing imported QML files (normally doesn't need to be specified).

0 commit comments

Comments
 (0)