summaryrefslogtreecommitdiffstats
path: root/src/tools/macdeployqt/shared/shared.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2024-06-24 21:21:00 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2024-06-25 11:13:41 +0200
commitcc0937877f9fefc1bed03b849ae6d649c2c4e97f (patch)
treeb4b2b8824daf44abd5d613aad42ec0d7848d1078 /src/tools/macdeployqt/shared/shared.cpp
parenta7fdc926558981c99cb9fcc80074621b8af4968c (diff)
macdeployqt: Deploy canbus plugins from QtSerialBus
Fixes: QTBUG-89484 Pick-to: 6.8 6.7 Change-Id: Id72184b0bdb45bd099a2c1a85049c0e84ef30d9f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/tools/macdeployqt/shared/shared.cpp')
-rw-r--r--src/tools/macdeployqt/shared/shared.cpp4
1 files changed, 3 insertions, 1 deletions
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<QString, std::vector<QString>> 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) {