@@ -29,51 +29,51 @@ PluginsDeployerFactory::PluginsDeployerFactory(AppDir& appDir,
29
29
qtTranslationsPath(std::move(qtTranslationsPath)),
30
30
qtDataPath(std::move(qtDataPath)) {}
31
31
32
- std::shared_ptr<PluginsDeployer> PluginsDeployerFactory::getInstance (const std::string& moduleName) {
32
+ std::vector<std:: shared_ptr<PluginsDeployer>> PluginsDeployerFactory::getDeployers (const std::string& moduleName) {
33
33
if (moduleName == " gui" ) {
34
- return getInstance<PlatformPluginsDeployer>(moduleName);
34
+ return { getInstance<PlatformPluginsDeployer>(moduleName), getInstance<XcbglIntegrationPluginsDeployer>(moduleName)} ;
35
35
}
36
36
37
- if (moduleName == " opengl" || moduleName == " gui " || moduleName == " xcbqpa" ) {
38
- return getInstance<XcbglIntegrationPluginsDeployer>(moduleName);
37
+ if (moduleName == " opengl" || moduleName == " xcbqpa" ) {
38
+ return { getInstance<XcbglIntegrationPluginsDeployer>(moduleName)} ;
39
39
}
40
40
41
41
if (moduleName == " network" ) {
42
- return getInstance<BearerPluginsDeployer>(moduleName);
42
+ return { getInstance<BearerPluginsDeployer>(moduleName)} ;
43
43
}
44
44
45
45
if (moduleName == " svg" ) {
46
- return getInstance<SvgPluginsDeployer>(moduleName);
46
+ return { getInstance<SvgPluginsDeployer>(moduleName)} ;
47
47
}
48
48
49
49
if (moduleName == " sql" ) {
50
- return getInstance<SqlPluginsDeployer>(moduleName);
50
+ return { getInstance<SqlPluginsDeployer>(moduleName)} ;
51
51
}
52
52
53
53
if (moduleName == " positioning" ) {
54
- return getInstance<PositioningPluginsDeployer>(moduleName);
54
+ return { getInstance<PositioningPluginsDeployer>(moduleName)} ;
55
55
}
56
56
57
57
if (moduleName == " multimedia" ) {
58
- return getInstance<MultimediaPluginsDeployer>(moduleName);
58
+ return { getInstance<MultimediaPluginsDeployer>(moduleName)} ;
59
59
}
60
60
61
61
if (moduleName == " webenginecore" ) {
62
- return getInstance<WebEnginePluginsDeployer>(moduleName);
62
+ return { getInstance<WebEnginePluginsDeployer>(moduleName)} ;
63
63
}
64
64
65
65
if (moduleName == " qml" ) {
66
- return getInstance<QmlPluginsDeployer>(moduleName);
66
+ return { getInstance<QmlPluginsDeployer>(moduleName)} ;
67
67
}
68
68
69
69
if (moduleName == " 3dquickrender" ) {
70
- return getInstance<Qt3DPluginsDeployer>(moduleName);
70
+ return { getInstance<Qt3DPluginsDeployer>(moduleName)} ;
71
71
}
72
72
73
73
if (moduleName == " gamepad" ) {
74
- return getInstance<GamepadPluginsDeployer>(moduleName);
74
+ return { getInstance<GamepadPluginsDeployer>(moduleName)} ;
75
75
}
76
76
77
77
// fallback
78
- return getInstance<BasicPluginsDeployer>(moduleName);
78
+ return { getInstance<BasicPluginsDeployer>(moduleName)} ;
79
79
}
0 commit comments