diff --git a/src/macdeployqt/shared/shared.cpp b/src/macdeployqt/shared/shared.cpp index d2a1bb17cb0fa6aff5df9b7367590c47cabdbd7b..5eb1464219e03a633ccc0a3999e31e770b37d868 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;