Skip to content

Commit 5492837

Browse files
danttiTheAssassin
authored andcommitted
Deploy Wayland Shell integration and decoration
When EXTRA_PLATFORM_PLUGINS has libqwayland-* we should also deploy the shell and decoration plugins.
1 parent 594db2c commit 5492837

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
@@ -27,6 +27,13 @@ bool PlatformPluginsDeployer::doDeploy() {
2727
ldLog() << "Deploying extra platform plugin: " << platformToDeploy << std::endl;
2828
if (!appDir.deployLibrary(qtPluginsPath / "platforms" / platformToDeploy, appDir.path() / "usr/plugins/platforms/"))
2929
return false;
30+
31+
using namespace linuxdeploy::util::misc;
32+
if (stringStartsWith(platformToDeploy, "libqwayland")) {
33+
if (!deployStandardQtPlugins({"wayland-decoration-client", "wayland-shell-integration"})) {
34+
return false;
35+
}
36+
}
3037
}
3138
}
3239

0 commit comments

Comments
 (0)