Skip to content

Commit

Permalink
Do not bundle "platformthemes/libqgtk2.so", "styles/libqgtk2style.so"…
Browse files Browse the repository at this point in the history
… (#538)

linuxdeploy/linuxdeploy-plugin-qt#109
Thanks Jean Ghali
  • Loading branch information
probonopd authored Jul 4, 2022
1 parent 60e6add commit 9623090
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shared.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand All @@ -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
Expand Down

0 comments on commit 9623090

Please sign in to comment.