Browse Source

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

https://github.com/linuxdeploy/linuxdeploy-plugin-qt/issues/109
Thanks Jean Ghali
master
probonopd 2 years ago
committed by GitHub
parent
commit
d6ac06cab4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      tools/linuxdeployqt/shared.cpp

3
tools/linuxdeployqt/shared.cpp

@ -1257,6 +1257,8 @@ void deployPlugins(const AppDirInfo &appDirInfo, const QString &pluginSourcePath
// https://askubuntu.com/a/748186 // https://askubuntu.com/a/748186
// This functionality used to come as part of Qt by default in earlier versions // 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) // 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" }; QStringList extraQtPluginsAdded = { "platformthemes/libqgtk2.so", "styles/libqgtk2style.so" };
foreach (const QString &plugin, extraQtPluginsAdded) { foreach (const QString &plugin, extraQtPluginsAdded) {
if (QFile::exists(pluginSourcePath + "/" + plugin)) { if (QFile::exists(pluginSourcePath + "/" + plugin)) {
@ -1266,6 +1268,7 @@ void deployPlugins(const AppDirInfo &appDirInfo, const QString &pluginSourcePath
LogWarning() <<"Plugin" << pluginSourcePath + "/" + plugin << "not found, skipping"; LogWarning() <<"Plugin" << pluginSourcePath + "/" + plugin << "not found, skipping";
} }
} }
*/
// Always bundle iconengines,imageformats // Always bundle iconengines,imageformats
// https://github.com/probonopd/linuxdeployqt/issues/82 // https://github.com/probonopd/linuxdeployqt/issues/82
// https://github.com/probonopd/linuxdeployqt/issues/325 // https://github.com/probonopd/linuxdeployqt/issues/325

Loading…
Cancel
Save