From 3ace62f90d48015fec1bd37ad216466fb666061d Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 22 Dec 2017 23:00:45 +0100 Subject: Single instance check works again - In Debug builds, startup time is calculated --- docs/manual/Contributing.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'docs/manual') 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_. -- cgit v1.2.1