Skip to content

Commit a042faa

Browse files
committed
PlatformPluginsDeployer: Ignore .debug files
1 parent bcd597c commit a042faa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/deployers/PlatformPluginsDeployer.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,19 @@ bool PlatformPluginsDeployer::deploy() {
3535
}
3636

3737
for (fs::directory_iterator i(qtPluginsPath / "platforminputcontexts"); i != fs::directory_iterator(); ++i) {
38+
if (i->path().extension() == ".debug") {
39+
ldLog() << LD_DEBUG << "skipping .debug file:" << i->path() << std::endl;
40+
continue;
41+
}
3842
if (!appDir.deployLibrary(*i, appDir.path() / "usr/plugins/platforminputcontexts/"))
3943
return false;
4044
}
4145

4246
for (fs::directory_iterator i(qtPluginsPath / "imageformats"); i != fs::directory_iterator(); ++i) {
47+
if (i->path().extension() == ".debug") {
48+
ldLog() << LD_DEBUG << "skipping .debug file:" << i->path() << std::endl;
49+
continue;
50+
}
4351
if (!appDir.deployLibrary(*i, appDir.path() / "usr/plugins/imageformats/"))
4452
return false;
4553
}

0 commit comments

Comments
 (0)