diff options
-rw-r--r-- | src/macdeployqt/shared/shared.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/macdeployqt/shared/shared.cpp b/src/macdeployqt/shared/shared.cpp index d2a1bb17c..5eb146421 100644 --- a/src/macdeployqt/shared/shared.cpp +++ b/src/macdeployqt/shared/shared.cpp @@ -528,6 +528,14 @@ void deployPlugins(const ApplicationBundleInfo &appBundleInfo, const QString &pl } } + if (deploymentInfo.deployedFrameworks.contains(QStringLiteral("QtMultimedia.framework"))) { + QStringList sqlPlugins = QDir(pluginSourcePath + QStringLiteral("/mediaservice")).entryList(QStringList() << QStringLiteral("*.dylib")); + foreach (const QString &plugin, sqlPlugins) { + if (!plugin.endsWith(QStringLiteral("_debug.dylib"))) + pluginList.append(QStringLiteral("mediaservice/") + plugin); + } + } + foreach (const QString &plugin, pluginList) { QString sourcePath = pluginSourcePath + "/" + plugin; |