Do not bundle "platformthemes/libqgtk2.so", "styles/libqgtk2style.so" (#538)

https://github.com/linuxdeploy/linuxdeploy-plugin-qt/issues/109
Thanks Jean Ghali
This commit is contained in:
probonopd
2022-07-04 21:15:41 +02:00
committed by GitHub
parent 66d6eeea28
commit d6ac06cab4
+3
View File
@@ -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