Updated deal.II in Spack (markdown)
[dealii.wiki.git] / QtCreator.md
1 # Using QtCreator as your IDE
2
3 ## Installation
4
5 Download the binary for your system from https://download.qt.io/official_releases/qtcreator/
6
7 Download the deal.II indentation style from [qtcreator-dealii-format](https://raw.githubusercontent.com/dealii/dealii/master/contrib/styles/qtcreator-dealii-code-format.xml) and set it under Tools->Options->C++->Code style->Import.
8
9 If you use a cmake build that is installed in your local user acccount, it needs to be set under settings->build&run->cmake.
10
11 In your default kit (settings->build&run->kits) select Qt version "none". Otherwise some reserved words like "signal" are not parsed correctly by qtcreator.
12
13 You can download [dealii-prm.xml](https://raw.githubusercontent.com/dealii/dealii/master/contrib/styles/qtcreator-prm-format.xml) and put it into 
14 ~/.config/QtProject/qtcreator/generic-highlighter to get syntax highlighting for .prm files.
15
16 ## Usage
17
18 Open the CMakeLists.txt and then choose the existing build directory.
19
20 Note that version 3.6 and newer revamped the cmake support which means that setting up the project takes a few more clicks (uncheck all but one build types/directories).

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.