forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/15.0' into 16.0
Conflicts: src/plugins/cmakeprojectmanager/cmaketoolmanager.cpp Change-Id: Ief5231ea380d67c7904034d8e9e5c2ea8b4bfbf4
This commit is contained in:
@@ -321,7 +321,17 @@ public:
|
||||
|
||||
setupLuaExpander(globalMacroExpander());
|
||||
|
||||
pluginSpecsFromArchiveFactories().push_back([](const FilePath &path) {
|
||||
pluginSpecsFromArchiveFactories().push_back([](const FilePath &path) -> QList<PluginSpec *> {
|
||||
if (path.isFile()) {
|
||||
if (path.suffix() == "lua") {
|
||||
Utils::expected_str<PluginSpec *> spec = loadPlugin(path);
|
||||
QTC_CHECK_EXPECTED(spec);
|
||||
if (spec)
|
||||
return {*spec};
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
||||
QList<PluginSpec *> plugins;
|
||||
auto dirs = path.dirEntries(QDir::Dirs | QDir::NoDotAndDotDot);
|
||||
for (const auto &dir : dirs) {
|
||||
|
Reference in New Issue
Block a user