probonopd
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
tools/linuxdeployqt/shared.cpp
|
@ -1204,6 +1204,11 @@ void deployPlugins(const AppDirInfo &appDirInfo, const QString &pluginSourcePath |
|
|
if (containsHowOften(deploymentInfo.deployedLibraries, "libQt5Gui")) { |
|
|
if (containsHowOften(deploymentInfo.deployedLibraries, "libQt5Gui")) { |
|
|
LogDebug() << "libQt5Gui detected"; |
|
|
LogDebug() << "libQt5Gui detected"; |
|
|
pluginList.append("platforms/libqxcb.so"); |
|
|
pluginList.append("platforms/libqxcb.so"); |
|
|
|
|
|
// Platform plugin contexts - apparently needed to enter special characters:
|
|
|
|
|
|
QStringList platformPluginContexts = QDir(pluginSourcePath + QStringLiteral("/platforminputcontexts")).entryList(QStringList() << QStringLiteral("*.so")); |
|
|
|
|
|
foreach (const QString &plugin, platformPluginContexts) { |
|
|
|
|
|
pluginList.append(QStringLiteral("platforminputcontexts/") + plugin); |
|
|
|
|
|
} |
|
|
// All image formats (svg if QtSvg library is used)
|
|
|
// All image formats (svg if QtSvg library is used)
|
|
|
QStringList imagePlugins = QDir(pluginSourcePath + QStringLiteral("/imageformats")).entryList(QStringList() << QStringLiteral("*.so")); |
|
|
QStringList imagePlugins = QDir(pluginSourcePath + QStringLiteral("/imageformats")).entryList(QStringList() << QStringLiteral("*.so")); |
|
|
foreach (const QString &plugin, imagePlugins) { |
|
|
foreach (const QString &plugin, imagePlugins) { |
|
|