From cc0937877f9fefc1bed03b849ae6d649c2c4e97f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Mon, 24 Jun 2024 21:21:00 +0200 Subject: [PATCH] macdeployqt: Deploy canbus plugins from QtSerialBus Fixes: QTBUG-89484 Pick-to: 6.8 6.7 Change-Id: Id72184b0bdb45bd099a2c1a85049c0e84ef30d9f Reviewed-by: Alexandru Croitor --- src/tools/macdeployqt/shared/shared.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tools/macdeployqt/shared/shared.cpp b/src/tools/macdeployqt/shared/shared.cpp index 6ff269b36df..2ed050cd11a 100644 --- a/src/tools/macdeployqt/shared/shared.cpp +++ b/src/tools/macdeployqt/shared/shared.cpp @@ -1170,13 +1170,15 @@ void deployPlugins(const ApplicationBundleInfo &appBundleInfo, const QString &pl }); } + // FIXME: Parse modules/Foo.json's plugin_types instead static const std::map> map { {QStringLiteral("Multimedia"), {QStringLiteral("multimedia")}}, {QStringLiteral("3DRender"), {QStringLiteral("sceneparsers"), QStringLiteral("geometryloaders"), QStringLiteral("renderers")}}, {QStringLiteral("3DQuickRender"), {QStringLiteral("renderplugins")}}, {QStringLiteral("Positioning"), {QStringLiteral("position")}}, {QStringLiteral("Location"), {QStringLiteral("geoservices")}}, - {QStringLiteral("TextToSpeech"), {QStringLiteral("texttospeech")}} + {QStringLiteral("TextToSpeech"), {QStringLiteral("texttospeech")}}, + {QStringLiteral("SerialBus"), {QStringLiteral("canbus")}}, }; for (const auto &it : map) {