Skip to content

Commit d6ac06c

Browse files
authored
Do not bundle "platformthemes/libqgtk2.so", "styles/libqgtk2style.so" (#538)
linuxdeploy/linuxdeploy-plugin-qt#109 Thanks Jean Ghali
1 parent 66d6eee commit d6ac06c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/linuxdeployqt/shared.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1257,6 +1257,8 @@ void deployPlugins(const AppDirInfo &appDirInfo, const QString &pluginSourcePath
12571257
// https://askubuntu.com/a/748186
12581258
// This functionality used to come as part of Qt by default in earlier versions
12591259
// At runtime, export QT_QPA_PLATFORMTHEME=gtk2 (Xfce does this itself)
1260+
// NOTE: Commented out due to the issues linked at https://github.com/linuxdeploy/linuxdeploy-plugin-qt/issues/109
1261+
/*
12601262
QStringList extraQtPluginsAdded = { "platformthemes/libqgtk2.so", "styles/libqgtk2style.so" };
12611263
foreach (const QString &plugin, extraQtPluginsAdded) {
12621264
if (QFile::exists(pluginSourcePath + "/" + plugin)) {
@@ -1266,6 +1268,7 @@ void deployPlugins(const AppDirInfo &appDirInfo, const QString &pluginSourcePath
12661268
LogWarning() <<"Plugin" << pluginSourcePath + "/" + plugin << "not found, skipping";
12671269
}
12681270
}
1271+
*/
12691272
// Always bundle iconengines,imageformats
12701273
// https://github.com/probonopd/linuxdeployqt/issues/82
12711274
// https://github.com/probonopd/linuxdeployqt/issues/325

0 commit comments

Comments
 (0)