Attempt to close #30 by deploying the xcbglintegrations plugins together with libQt5OpenGL
This commit is contained in:
+8
-1
@@ -749,7 +749,6 @@ void deployPlugins(const AppDirInfo &appDirInfo, const QString &pluginSourcePath
|
||||
LogDebug() << "deploymentInfo.deployedLibraries before attempting to bundle required plugins:" << deploymentInfo.deployedLibraries;
|
||||
|
||||
// Platform plugin:
|
||||
|
||||
if (containsHowOften(deploymentInfo.deployedLibraries, "libQt5Gui")) {
|
||||
LogDebug() << "libQt5Gui detected";
|
||||
pluginList.append("platforms/libqxcb.so");
|
||||
@@ -765,6 +764,14 @@ void deployPlugins(const AppDirInfo &appDirInfo, const QString &pluginSourcePath
|
||||
}
|
||||
}
|
||||
|
||||
// Platform OpenGL context
|
||||
if (containsHowOften(deploymentInfo.deployedLibraries, "libQt5OpenGL")) {
|
||||
QStringList xcbglintegrationPlugins = QDir(pluginSourcePath + QStringLiteral("/xcbglintegrations")).entryList(QStringList() << QStringLiteral("*.so"));
|
||||
foreach (const QString &plugin, xcbglintegrationPlugins) {
|
||||
pluginList.append(QStringLiteral("xcbglintegrations/") + plugin);
|
||||
}
|
||||
}
|
||||
|
||||
// CUPS print support
|
||||
if (containsHowOften(deploymentInfo.deployedLibraries, "libQt5PrintSupport")) {
|
||||
pluginList.append("printsupport/libcupsprintersupport.so");
|
||||
|
||||
Reference in New Issue
Block a user