Utils: Add convenience class for parsing and caching process output

... and base the existing uses of this pattern on it.

Change-Id: I0eaf7535b68ff8c3e8e1c923ce08e63896cc83f7
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2024-02-16 16:47:43 +01:00
parent 7c5a0e6bb2
commit 737bf48a0c
11 changed files with 238 additions and 160 deletions

View File

@@ -230,7 +230,7 @@ VersionAndSuffix ClangToolsSettings::clangTidyVersion()
QVersionNumber ClangToolsSettings::clazyVersion()
{
return ClazyStandaloneInfo::getInfo(Internal::toolExecutable(ClangToolType::Clazy)).version;
return ClazyStandaloneInfo(Internal::toolExecutable(ClangToolType::Clazy)).version;
}
} // namespace Internal