aboutsummaryrefslogtreecommitdiff
path: root/docs/manual/Contributing.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manual/Contributing.md')
-rw-r--r--docs/manual/Contributing.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/manual/Contributing.md b/docs/manual/Contributing.md
index ff8e2b2..c6d1bcd 100644
--- a/docs/manual/Contributing.md
+++ b/docs/manual/Contributing.md
@@ -19,6 +19,19 @@ Requires clang.
To set check levels, set the CLAZY_CHECKS environment variable to 'level0,level1', etc.
+### Setting up in qbs
+1. Create a profile for clazy
+```
+qbs-setup-toolchains --type clang /usr/bin/clazy clazy
+qbs-config profiles.clazy.cpp.cCompilerName clang
+qbs-config profiles.clazy.cpp.cxxCompilerName clazy
+```
+2. Create a profile for qt5-clazy
+```
+qbs-setup-qt /usr/bin/qmake-qt5 qt5-clazy
+qbs-config profiles.qt5-clazy.baseProfile clazy
+```
+
### Setting up in QtCreator
The simplest way to set it up is to use _clazy_ instead of _clang_.