Skip to content

Commit 028899c

Browse files
committed
Multi: Ignore .debug files
1 parent f01b4fb commit 028899c

11 files changed

+75
-0
lines changed

src/deployers/BearerPluginsDeployer.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ bool BearerPluginsDeployer::deploy() {
2020
ldLog() << "Deploying bearer plugins" << std::endl;
2121

2222
for (fs::directory_iterator i(qtPluginsPath / "bearer"); i != fs::directory_iterator(); ++i) {
23+
if (i->path().extension() == ".debug") {
24+
ldLog() << LD_DEBUG << "skipping .debug file:" << i->path() << std::endl;
25+
continue;
26+
}
27+
2328
if (!appDir.deployLibrary(*i, appDir.path() / "usr/plugins/bearer/"))
2429
return false;
2530
}

src/deployers/GamepadPluginsDeployer.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ bool GamepadPluginsDeployer::deploy() {
2020
ldLog() << "Deploying Gamepad plugins" << std::endl;
2121

2222
for (fs::directory_iterator i(qtPluginsPath / "gamepads"); i != fs::directory_iterator(); ++i) {
23+
if (i->path().extension() == ".debug") {
24+
ldLog() << LD_DEBUG << "skipping .debug file:" << i->path() << std::endl;
25+
continue;
26+
}
27+
2328
if (!appDir.deployLibrary(*i, appDir.path() / "usr/plugins/gamepads/"))
2429
return false;
2530
}

src/deployers/LocationPluginsDeployer.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ bool LocationPluginsDeployer::deploy() {
2020
ldLog() << "Deploying Location plugins" << std::endl;
2121

2222
for (fs::directory_iterator i(qtPluginsPath / "geoservices"); i != fs::directory_iterator(); ++i) {
23+
if (i->path().extension() == ".debug") {
24+
ldLog() << LD_DEBUG << "skipping .debug file:" << i->path() << std::endl;
25+
continue;
26+
}
27+
2328
if (!appDir.deployLibrary(*i, appDir.path() / "usr/plugins/geoservices/"))
2429
return false;
2530
}

src/deployers/Multimedia5PluginsDeployer.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,23 @@ bool Multimedia5PluginsDeployer::deploy() {
2020
ldLog() << "Deploying mediaservice plugins" << std::endl;
2121

2222
for (fs::directory_iterator i(qtPluginsPath / "mediaservice"); i != fs::directory_iterator(); ++i) {
23+
if (i->path().extension() == ".debug") {
24+
ldLog() << LD_DEBUG << "skipping .debug file:" << i->path() << std::endl;
25+
continue;
26+
}
27+
2328
if (!appDir.deployLibrary(*i, appDir.path() / "usr/plugins/mediaservice/"))
2429
return false;
2530
}
2631

2732
ldLog() << "Deploying audio plugins" << std::endl;
2833

2934
for (fs::directory_iterator i(qtPluginsPath / "audio"); i != fs::directory_iterator(); ++i) {
35+
if (i->path().extension() == ".debug") {
36+
ldLog() << LD_DEBUG << "skipping .debug file:" << i->path() << std::endl;
37+
continue;
38+
}
39+
3040
if (!appDir.deployLibrary(*i, appDir.path() / "usr/plugins/audio/"))
3141
return false;
3242
}

src/deployers/Multimedia6PluginsDeployer.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ bool Multimedia6PluginsDeployer::deploy() {
2121
ldLog() << "Deploying multimedia plugins" << std::endl;
2222

2323
for (fs::directory_iterator i(qtPluginsPath / "multimedia"); i != fs::directory_iterator(); ++i) {
24+
if (i->path().extension() == ".debug") {
25+
ldLog() << LD_DEBUG << "skipping .debug file:" << i->path() << std::endl;
26+
continue;
27+
}
28+
2429
if (!appDir.deployLibrary(*i, appDir.path() / "usr/plugins/multimedia/"))
2530
return false;
2631
}

src/deployers/PositioningPluginsDeployer.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ bool PositioningPluginsDeployer::deploy() {
2020
ldLog() << "Deploying positioning plugins" << std::endl;
2121

2222
for (fs::directory_iterator i(qtPluginsPath / "position"); i != fs::directory_iterator(); ++i) {
23+
if (i->path().extension() == ".debug") {
24+
ldLog() << LD_DEBUG << "skipping .debug file:" << i->path() << std::endl;
25+
continue;
26+
}
27+
2328
if (!appDir.deployLibrary(*i, appDir.path() / "usr/plugins/position/"))
2429
return false;
2530
}

src/deployers/PrintSupportPluginsDeployer.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ bool PrintSupportPluginsDeployer::deploy() {
2020
ldLog() << "Deploying printsupport plugins" << std::endl;
2121

2222
for (fs::directory_iterator i(qtPluginsPath / "printsupport"); i != fs::directory_iterator(); ++i) {
23+
if (i->path().extension() == ".debug") {
24+
ldLog() << LD_DEBUG << "skipping .debug file:" << i->path() << std::endl;
25+
continue;
26+
}
27+
2328
if (!appDir.deployLibrary(*i, appDir.path() / "usr/plugins/printsupport/"))
2429
return false;
2530
}

src/deployers/Qt3DPluginsDeployer.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,21 @@ bool Qt3DPluginsDeployer::deploy() {
2020
ldLog() << "Deploying Qt 3D plugins" << std::endl;
2121

2222
for (fs::directory_iterator i(qtPluginsPath / "geometryloaders"); i != fs::directory_iterator(); ++i) {
23+
if (i->path().extension() == ".debug") {
24+
ldLog() << LD_DEBUG << "skipping .debug file:" << i->path() << std::endl;
25+
continue;
26+
}
27+
2328
if (!appDir.deployLibrary(*i, appDir.path() / "usr/plugins/geometryloaders/"))
2429
return false;
2530
}
2631

2732
for (fs::directory_iterator i(qtPluginsPath / "sceneparsers"); i != fs::directory_iterator(); ++i) {
33+
if (i->path().extension() == ".debug") {
34+
ldLog() << LD_DEBUG << "skipping .debug file:" << i->path() << std::endl;
35+
continue;
36+
}
37+
2838
if (!appDir.deployLibrary(*i, appDir.path() / "usr/plugins/sceneparsers/"))
2939
return false;
3040
}

src/deployers/SqlPluginsDeployer.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ bool SqlPluginsDeployer::deploy() {
2020
ldLog() << "Deploying SQL plugins" << std::endl;
2121

2222
for (fs::directory_iterator i(qtPluginsPath / "sqldrivers"); i != fs::directory_iterator(); ++i) {
23+
if (i->path().extension() == ".debug") {
24+
ldLog() << LD_DEBUG << "skipping .debug file:" << i->path() << std::endl;
25+
continue;
26+
}
27+
2328
if (!appDir.deployLibrary(*i, appDir.path() / "usr/plugins/sqldrivers/"))
2429
return false;
2530
}

src/deployers/TlsBackendsDeployer.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ bool TlsBackendsDeployer::deploy() {
2020
ldLog() << "Deploying TLS backends" << std::endl;
2121

2222
for (fs::directory_iterator i(qtPluginsPath / "tls"); i != fs::directory_iterator(); ++i) {
23+
if (i->path().extension() == ".debug") {
24+
ldLog() << LD_DEBUG << "skipping .debug file:" << i->path() << std::endl;
25+
continue;
26+
}
27+
2328
if (!appDir.deployLibrary(*i, appDir.path() / "usr/plugins/tls/"))
2429
return false;
2530
}

0 commit comments

Comments
 (0)