Browse Source

Make the bundled application look good on, e.g., Xfce (#346)

master
probonopd 6 years ago
committed by GitHub
parent
commit
f5df5184e2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      tools/linuxdeployqt/shared.cpp

9
tools/linuxdeployqt/shared.cpp

@ -1218,6 +1218,15 @@ void deployPlugins(const AppDirInfo &appDirInfo, const QString &pluginSourcePath
// Plugin white list: // Plugin white list:
QStringList pluginList; QStringList pluginList;
// Make the bundled application look good on, e.g., Xfce
// Note: http://code.qt.io/qt/qtstyleplugins.git must be compiled (using libgtk2.0-dev)
// https://askubuntu.com/a/910143
// 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)
pluginList.append("platformthemes/libqgtk2.so");
pluginList.append("styles/libqgtk2style.so");
LogDebug() << "deploymentInfo.deployedLibraries before attempting to bundle required plugins:" << deploymentInfo.deployedLibraries; LogDebug() << "deploymentInfo.deployedLibraries before attempting to bundle required plugins:" << deploymentInfo.deployedLibraries;
// Platform plugin: // Platform plugin:

Loading…
Cancel
Save