From 5c79e30f1973fef33c4dfb25d7e467b1abea0317 Mon Sep 17 00:00:00 2001 From: probonopd Date: Fri, 4 Nov 2016 16:18:18 +0100 Subject: [PATCH] Also deploy plugins/iconengines/libqsvgicon.so whenever libQt5Svg.so.* is about to be deployed, closes #36 --- shared/shared.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/shared/shared.cpp b/shared/shared.cpp index a27fae2..33fc625 100644 --- a/shared/shared.cpp +++ b/shared/shared.cpp @@ -816,6 +816,12 @@ void deployPlugins(const AppDirInfo &appDirInfo, const QString &pluginSourcePath foreach (const QString &plugin, xcbglintegrationPlugins) { pluginList.append(QStringLiteral("xcbglintegrations/") + plugin); } + } + + // 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