We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a29e02 commit 24f169aCopy full SHA for 24f169a
src/deployers/BasicPluginsDeployer.cpp
@@ -39,7 +39,8 @@ bool BasicPluginsDeployer::deployStandardQtPlugins(const std::vector<std::string
39
for (const auto &pluginName : plugins) {
40
ldLog() << "Deploying Qt" << pluginName << "plugins" << std::endl;
41
for (fs::directory_iterator i(qtPluginsPath / pluginName); i != fs::directory_iterator(); ++i) {
42
- if (!appDir.deployLibrary(*i, appDir.path() / "usr/plugins" / pluginName))
+ // add a trailing slash, so pluginName is used as a destination directory, not a file.
43
+ if (!appDir.deployLibrary(*i, appDir.path() / "usr/plugins" / pluginName / ""))
44
return false;
45
}
46
0 commit comments