From 81bb6bd2fba2e492b5e1d471ad555bece160fb2f Mon Sep 17 00:00:00 2001 From: Vladyslav Usenko Date: Wed, 15 May 2019 11:58:15 +0200 Subject: [PATCH] small update --- doc/DevSetup.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/DevSetup.md b/doc/DevSetup.md index be3b61a..9ed87b7 100644 --- a/doc/DevSetup.md +++ b/doc/DevSetup.md @@ -3,27 +3,27 @@ ### Clang-format We use clang-format to maintain a consistent formating of the code. Since there are small differences between different version of clang-format we use version 8 on all platforms. -On Ubuntu 18.04 run the following commands to install clang-format-8 +On **Ubuntu 18.04** run the following commands to install clang-format-8 ``` wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add - sudo sh -c 'echo "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main" > /etc/apt/sources.list.d/llvm8.list' sudo apt-get install clang-format-8 ``` -On MacOS [Homebrew](https://brew.sh/) should install the right version of clang-format: +On **MacOS** [Homebrew](https://brew.sh/) should install the right version of clang-format: ``` brew install clang-format ``` ### Install and configure QtCreator -Download and install QtCreator. On Ubuntu 18.04 run: +Download and install QtCreator. On **Ubuntu 18.04** run: ``` wget https://download.qt.io/official_releases/qtcreator/4.9/4.9.0/qt-creator-opensource-linux-x86_64-4.9.0.run chmod +x qt-creator-opensource-linux-x86_64-4.9.0.run ./qt-creator-opensource-linux-x86_64-4.9.0.run ``` -On MacOS run: +On **MacOS** run: ``` wget https://download.qt.io/official_releases/qtcreator/4.9/4.9.0/qt-creator-opensource-mac-x86_64-4.9.0.dmg open qt-creator-opensource-mac-x86_64-4.9.0.dmg @@ -37,7 +37,7 @@ Go to `Tools` -> `Options` and select the Beautifier tab. There select ClangForm ![qt_creator_beautifier_general](/doc/img/qt_creator_beautifier_general.png) -Select file as predefined style in `Clang Format` tab. Also select `None` as the fallback style. **For Ubuntu 18.04** change the executable name to `/usr/bin/clang-format-8`. +Select file as predefined style in `Clang Format` tab. Also select `None` as the fallback style. For **Ubuntu 18.04** change the executable name to `/usr/bin/clang-format-8`. ![qt_creator_beautifier_clang_format](/doc/img/qt_creator_beautifier_clang_format.png)