From e03847c81da65a563b5db10aa1a39f01ba0fed83 Mon Sep 17 00:00:00 2001 From: tsteven4 Date: Wed, 9 May 2018 11:22:01 -0600 Subject: [PATCH] Deploy xcbglintegrations plugin when using libQt5Gui, closes #30 --- tools/linuxdeployqt/shared.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/linuxdeployqt/shared.cpp b/tools/linuxdeployqt/shared.cpp index 86a4e1d..1029eb5 100644 --- a/tools/linuxdeployqt/shared.cpp +++ b/tools/linuxdeployqt/shared.cpp @@ -1230,6 +1230,7 @@ void deployPlugins(const AppDirInfo &appDirInfo, const QString &pluginSourcePath // Platform OpenGL context if ((containsHowOften(deploymentInfo.deployedLibraries, "libQt5OpenGL")) + or (containsHowOften(deploymentInfo.deployedLibraries, "libQt5Gui")) or (containsHowOften(deploymentInfo.deployedLibraries, "libQt5XcbQpa")) or (containsHowOften(deploymentInfo.deployedLibraries, "libxcb-glx"))) { QStringList xcbglintegrationPlugins = QDir(pluginSourcePath + QStringLiteral("/xcbglintegrations")).entryList(QStringList() << QStringLiteral("*.so"));