From 9623090e6c929e3c2cb131014d44ab75abe52c39 Mon Sep 17 00:00:00 2001 From: probonopd Date: Mon, 4 Jul 2022 21:15:41 +0200 Subject: [PATCH] Do not bundle "platformthemes/libqgtk2.so", "styles/libqgtk2style.so" (#538) https://github.com/linuxdeploy/linuxdeploy-plugin-qt/issues/109 Thanks Jean Ghali --- shared.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shared.cpp b/shared.cpp index 4d03b52..0bf93ae 100644 --- a/shared.cpp +++ b/shared.cpp @@ -1257,6 +1257,8 @@ void deployPlugins(const AppDirInfo &appDirInfo, const QString &pluginSourcePath // https://askubuntu.com/a/748186 // This functionality used to come as part of Qt by default in earlier versions // At runtime, export QT_QPA_PLATFORMTHEME=gtk2 (Xfce does this itself) + // NOTE: Commented out due to the issues linked at https://github.com/linuxdeploy/linuxdeploy-plugin-qt/issues/109 + /* QStringList extraQtPluginsAdded = { "platformthemes/libqgtk2.so", "styles/libqgtk2style.so" }; foreach (const QString &plugin, extraQtPluginsAdded) { if (QFile::exists(pluginSourcePath + "/" + plugin)) { @@ -1266,6 +1268,7 @@ void deployPlugins(const AppDirInfo &appDirInfo, const QString &pluginSourcePath LogWarning() <<"Plugin" << pluginSourcePath + "/" + plugin << "not found, skipping"; } } + */ // Always bundle iconengines,imageformats // https://github.com/probonopd/linuxdeployqt/issues/82 // https://github.com/probonopd/linuxdeployqt/issues/325