diff --git a/src/macdeployqt/shared/shared.cpp b/src/macdeployqt/shared/shared.cpp index bf93898b6ef8d8ebf58bee37602bfd207a7cab79..32bab47c306ed66fcbe023e0c67562781a719203 100644 --- a/src/macdeployqt/shared/shared.cpp +++ b/src/macdeployqt/shared/shared.cpp @@ -567,6 +567,15 @@ void deployPlugins(const ApplicationBundleInfo &appBundleInfo, const QString &pl // Cocoa print support pluginList.append("printsupport/libcocoaprintersupport.dylib"); + // Network + if (deploymentInfo.deployedFrameworks.contains(QStringLiteral("QtNetwork.framework"))) { + QStringList bearerPlugins = QDir(pluginSourcePath + QStringLiteral("/bearer")).entryList(QStringList() << QStringLiteral("*.dylib")); + foreach (const QString &plugin, bearerPlugins) { + if (!plugin.endsWith(QStringLiteral("_debug.dylib"))) + pluginList.append(QStringLiteral("bearer/") + plugin); + } + } + // Accessibility if (deploymentInfo.deployedFrameworks.contains(QStringLiteral("QtWidgets.framework"))) pluginList.append("accessible/libqtaccessiblewidgets.dylib");