From e915ad00eeeb61a96c77b27367c9195f8940473b Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 10 Feb 2018 11:32:32 +0000 Subject: [PATCH] Do not deploy platformthemes for now (FIXME) https://github.com/probonopd/linuxdeployqt/issues/236 --- tools/linuxdeployqt/shared.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/linuxdeployqt/shared.cpp b/tools/linuxdeployqt/shared.cpp index e1ceeea..2f25e60 100644 --- a/tools/linuxdeployqt/shared.cpp +++ b/tools/linuxdeployqt/shared.cpp @@ -1223,10 +1223,14 @@ void deployPlugins(const AppDirInfo &appDirInfo, const QString &pluginSourcePath pluginList.append(QStringLiteral("platforminputcontexts/") + plugin); } // Platform themes - make Qt look more native e.g., on Gtk+ 3 (if available in Qt installation) + // FIXME: Do not do this until we find a good way to do this without also deploying their dependencies + // See https://github.com/probonopd/linuxdeployqt/issues/236 + /* QStringList platformThemes = QDir(pluginSourcePath + QStringLiteral("/platformthemes")).entryList(QStringList() << QStringLiteral("*.so")); foreach (const QString &plugin, platformThemes) { pluginList.append(QStringLiteral("platformthemes/") + plugin); } + */ // All image formats (svg if QtSvg library is used) QStringList imagePlugins = QDir(pluginSourcePath + QStringLiteral("/imageformats")).entryList(QStringList() << QStringLiteral("*.so")); foreach (const QString &plugin, imagePlugins) {