diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2019-08-28 08:56:22 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2019-09-12 13:35:01 +0000 |
commit | fc37ea4276c9728a6fa4e3dfab8ce8df98b81d7d (patch) | |
tree | d746044f21d96bb82a5552d4120349317a16020e /src/plugins/coreplugin/icore.cpp | |
parent | 8890a7412c154d48fc160a366fdbe28021ca0138 (diff) |
ClangTools: Add UI for specifying executables
Add a new group box "Executables" for this. Hide the UI for
clazy-standalone unless QTC_USE_CLAZY_STANDALONE_PATH is set as there is
no released version with the needed -export-fixes option.
Rename the previous group box from "General" to "Run Options".
Change-Id: Ia9daf66c40d3a7eea98b31d9c086886d29466490
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'src/plugins/coreplugin/icore.cpp')
-rw-r--r-- | src/plugins/coreplugin/icore.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/coreplugin/icore.cpp b/src/plugins/coreplugin/icore.cpp index b16d1d05c4..d8ba245020 100644 --- a/src/plugins/coreplugin/icore.cpp +++ b/src/plugins/coreplugin/icore.cpp @@ -495,6 +495,11 @@ QString ICore::clangTidyExecutable(const QString &clangBinDirectory) return clangBinary("clang-tidy", clangBinDirectory); } +QString ICore::clazyStandaloneExecutable(const QString &clangBinDirectory) +{ + return clangBinary("clazy-standalone", clangBinDirectory); +} + static QString compilerString() { #if defined(Q_CC_CLANG) // must be before GNU, because clang claims to be GNU too |