MCPcopy Create free account
hub / github.com/QuasarApp/CQtDeployer / qtModuleForPlugin

Method qtModuleForPlugin

src/Deploy/src/pluginsparser.cpp:118–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118quint64 PluginsParser::qtModuleForPlugin(const QString &plugin) const {
119 const auto end = std::end(ditalsSluginModuleMappings);
120
121 const auto result =
122 std::find_if(std::begin(ditalsSluginModuleMappings), end,
123 [&plugin] (const PluginModuleMapping &m) {
124
125 return plugin == QLatin1String(m.directoryName);
126 });
127
128 return result != end ? result->module : 0; // "designer"
129}
130
131Platform PluginsParser::platformForPlugin(const QString &name) const {
132 const auto end = std::end(platformMappings);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected