Skip to content

Commit a02fb21

Browse files
Merge pull request #17526 from shoogle/appimage-platform-plugins
Linux: Avoid setting EXTRA_PLATFORM_PLUGINS twice in AppImage script
2 parents 4eeed9c + 05a8cc3 commit a02fb21

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

build/ci/linux/tools/make_appimage.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,17 +104,13 @@ mv "${qt_sql_drivers_path}/libqsqlpsql.so" "${qt_sql_drivers_tmp}/libqsqlpsql.so
104104

105105
# Semicolon-separated list of platforms to deploy in addition to `libqxcb.so`.
106106
# Used by linuxdeploy-plugin-qt.
107-
export EXTRA_PLATFORM_PLUGINS=libqoffscreen.so
107+
export EXTRA_PLATFORM_PLUGINS="libqoffscreen.so;libqwayland-egl.so;libqwayland-generic.so"
108108

109109
# Colon-separated list of root directories containing QML files.
110110
# Needed for linuxdeploy-plugin-qt to scan for QML imports.
111111
# Qml files can be in different directories, the qmlimportscanner will go through everything recursively.
112112
export QML_SOURCES_PATHS=./
113113

114-
# Semicolon-separated list of needed .so files in Qt's platform/plugins
115-
# directory for linuxdeploy-plugin-qt to scan and deploy.
116-
export EXTRA_PLATFORM_PLUGINS="libqwayland-egl.so;libqwayland-generic.so"
117-
118114
linuxdeploy --appdir "${appdir}" # adds all shared library dependencies
119115
linuxdeploy-plugin-qt --appdir "${appdir}" # adds all Qt dependencies
120116

0 commit comments

Comments
 (0)