aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-12-22 23:00:45 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-12-22 23:00:45 +0100
commit3ace62f90d48015fec1bd37ad216466fb666061d (patch)
treeac64ca02db0e046a781d79dc83758311f4dadf90 /docs
parentEdited documentation (diff)
downloadsmolbote-3ace62f90d48015fec1bd37ad216466fb666061d.tar.xz
Single instance check works again
- In Debug builds, startup time is calculated
Diffstat (limited to 'docs')
-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_.