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;
|
LogDebug() << "deploymentInfo.deployedLibraries before attempting to bundle required plugins:" << deploymentInfo.deployedLibraries;
|
||||||
|
|
||||||
// Platform plugin:
|
// Platform plugin:
|
||||||
|
|
||||||
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");
|
||||||
@@ -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
|
// CUPS print support
|
||||||
if (containsHowOften(deploymentInfo.deployedLibraries, "libQt5PrintSupport")) {
|
if (containsHowOften(deploymentInfo.deployedLibraries, "libQt5PrintSupport")) {
|
||||||
pluginList.append("printsupport/libcupsprintersupport.so");
|
pluginList.append("printsupport/libcupsprintersupport.so");
|
||||||
|
|||||||
Reference in New Issue
Block a user