Also deploy plugins/iconengines/libqsvgicon.so whenever libQt5Svg.so.* is about to be deployed, closes #36

This commit is contained in:
probonopd
2016-11-04 16:18:18 +01:00
committed by GitHub
parent dbeb6f42c2
commit 5c79e30f19
+6
View File
@@ -818,6 +818,12 @@ void deployPlugins(const AppDirInfo &appDirInfo, const QString &pluginSourcePath
} }
} }
// Also deploy plugins/iconengines/libqsvgicon.so whenever libQt5Svg.so.* is about to be deployed,
// https://github.com/probonopd/linuxdeployqt/issues/36
if (containsHowOften(deploymentInfo.deployedLibraries, "libQt5Svg")) {
pluginList.append(QStringLiteral("iconengines/libqsvgicon.so"));
}
// CUPS print support // CUPS print support
if (containsHowOften(deploymentInfo.deployedLibraries, "libQt5PrintSupport")) { if (containsHowOften(deploymentInfo.deployedLibraries, "libQt5PrintSupport")) {
pluginList.append("printsupport/libcupsprintersupport.so"); pluginList.append("printsupport/libcupsprintersupport.so");