Skip to content

Commit a1c788b

Browse files
committed
Deploy Wayland Shell integration and decoration
When EXTRA_PLATFORM_PLUGINS has libqwayland-* we should also deploy the shell and decoration plugins.
1 parent 8b22458 commit a1c788b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/deployers/PlatformPluginsDeployer.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ bool PlatformPluginsDeployer::deploy() {
3131
ldLog() << "Deploying extra platform plugin: " << platformToDeploy << std::endl;
3232
if (!appDir.deployLibrary(qtPluginsPath / "platforms" / platformToDeploy, appDir.path() / "usr/plugins/platforms/"))
3333
return false;
34+
35+
using namespace linuxdeploy::util::misc;
36+
if (stringStartsWith(platformToDeploy, "libqwayland")) {
37+
if (!deployStandardQtPlugins({"wayland-decoration-client", "wayland-shell-integration"})) {
38+
return false;
39+
}
40+
}
3441
}
3542
}
3643

0 commit comments

Comments
 (0)