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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user