Commit ab93621e authored by Leander Schulten's avatar Leander Schulten

Update QtCreator.md: Add Linux and how to install cpp-check

parent 34b03f0d
Pipeline #204230 passed with stage
in 6 minutes and 10 seconds
......@@ -3,7 +3,7 @@ Die IDE mit der die Lichtsteuerung entwickelt wird.
### Einrichten
1. Mac: open Qt Creator -> About Plugins...
Windows: open Help -> About Plugins...
Windows/Linux: open Help -> About Plugins...
2. Enable:
- C++ -> ClangCodeModel
- C++ -> ClangFormat
......@@ -12,12 +12,18 @@ Die IDE mit der die Lichtsteuerung entwickelt wird.
- Utilities -> Todo
Click 'Close' and restart Qt Creator
3. Open the settings (Mac: Qt Creator -> Preferences..., Windows: Tools -> Options...)
3. Open the settings (Mac: Qt Creator -> Preferences..., Windows/Linux: Tools -> Options...)
4. You can choose under Environment -> Interface -> Theme the 'Dark' Theme ;)
5. Check C++ -> Code Style -> Format instead of indenting
Check C++ -> Code Style -> Format while typing
Check C++ -> Code Style -> Format edited code on file save
6. Check Qt Quick -> QML/JS Editing -> Enable auto format on file save if [this](https://bugreports.qt.io/browse/QTCREATORBUG-23019) is fixed
6. Check Qt Quick -> QML/JS Editing -> Enable auto format on file save, **if [this](https://bugreports.qt.io/browse/QTCREATORBUG-23019) is fixed**
7. Close the settings
8. You can select File -> Sessions -> Manage... -> Restore last session on startup
9. If you have changed the theme, restart Qt Creator
### Cpp-Check installieren
[Cppcheck](http://cppcheck.sourceforge.net/) ist ein Tool zur statischen Analyse, um Fehler zu finden.
* Windows: Auf die Webseite von [Cppcheck](http://cppcheck.sourceforge.net/) gehen, den Installer runterladen und installieren.
* Mac: `brew install cppcheck` (vorrausgesetzt [brew](https://brew.sh/) ist installiert)
* Linux: `sudo apt install cppcheck`
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment