summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2014-10-16 13:14:45 +0200
committerNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2014-11-03 17:54:35 +0200
commit273f2b8c5df7232751bcf6999f549cf22417c23c (patch)
tree44f7c3b0f84306cb48be5fa550abe5c13d8d03c3
parentaa98ee27559dc79ac874755f190e2cbe9d817dfe (diff)
downloadqt-creator-273f2b8c5df7232751bcf6999f549cf22417c23c.tar.gz
Load the plugin only on Linux / OS X
On these platforms clang and/or gcc are available and the QMakeProject and QbsProject can provide "enough" information. Windows/MinGW: Currently mingw 4.8.2 can't be used with clang 3.5. See https://www.mail-archive.com/mingw-w64-public@lists.sourceforge.net/msg09490.html Tests with mingw 4.9 are needed. Windows/MSVC: This needs more investigation. Observations so far: * Does not work at the moment calling clang.exe. * clang-cl.exe does not understand '--analyze'. Passing '-Xclang --analyze' in does not help either. Change-Id: I83afe4a186cba67faf7bd0ad6c1de42790e281b2 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
-rw-r--r--plugins/clangstaticanalyzer/ClangStaticAnalyzer.json.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/clangstaticanalyzer/ClangStaticAnalyzer.json.in b/plugins/clangstaticanalyzer/ClangStaticAnalyzer.json.in
index 77cc31b40d..13c2aa5b82 100644
--- a/plugins/clangstaticanalyzer/ClangStaticAnalyzer.json.in
+++ b/plugins/clangstaticanalyzer/ClangStaticAnalyzer.json.in
@@ -3,6 +3,7 @@
\"Version\" : \"$$QTCREATOR_VERSION\",
\"CompatVersion\" : \"$$QTCREATOR_COMPAT_VERSION\",
\"Experimental\" : true,
+ \"Platform\" : \"(Linux.*)|(OS X.*)\",
\"Vendor\" : \"Digia Plc\",
\"Copyright\" : \"(C) 2014 Digia Plc\",
\"License\" : [ \"Commercial Usage\",