update scripts, readme and open sidebar on startup without book

This commit is contained in:
Agel committed 2026-03-29 15:38:39 +02:00
1 parent 93c43259b8
commit b663a4d79d
6 files changed
+38 -30

No files matched your search

+24 -5
View File
@@ -132,11 +132,30 @@ ctest --test-dir build --output-on-failure
### CLion
1. Open the project root folder (File → Open)
2. CLion auto-detects `CMakeLists.txt` and configures
3. Select a CMake profile (Debug/Release) in Settings → Build, Execution, Deployment → CMake
4. Build: `Ctrl+F9` / `⌘F9` | Run: `Shift+F10` / `⌃R`
5. On Windows: set the toolchain to use MSYS2's MinGW (`C:\msys64\mingw64\bin\gcc.exe`) under Settings → Build, Execution, Deployment → Toolchains; leave GDB set to **Bundled** — MSYS2's GDB is newer than CLion supports
#### Linux
1. Open the project root folder (File → Open) — CLion detects `CMakeLists.txt` automatically
2. Go to **Settings → Build, Execution, Deployment → CMake**
3. In the **Debug** profile, add to **CMake options**:
```
-DCMAKE_PREFIX_PATH=/opt/qt/6.10.1/gcc_64
```
This is where `install-deps-ubuntu.sh` installs Qt 6.10.1 via aqtinstall.
4. CLion auto-detects the system GCC toolchain — no toolchain configuration needed
5. To add a **Release** profile: click `+` to duplicate, change **Build type** to `Release`, same CMake options
6. Build: `Ctrl+F9` | Run: `Shift+F10`
#### Windows
1. **Configure the toolchain** — Settings → Build, Execution, Deployment → **Toolchains**:
- Click `+` → **MinGW**
- Set **C Compiler** to `C:\msys64\mingw64\bin\gcc.exe`
- Set **C++ Compiler** to `C:\msys64\mingw64\bin\g++.exe`
- Leave **Debugger** set to **Bundled** — MSYS2's GDB can be newer than CLion supports
2. **Configure CMake** — Settings → Build, Execution, Deployment → **CMake**:
- In the Debug profile, set **Toolchain** to the MSYS2 MinGW toolchain created above
- No `CMAKE_PREFIX_PATH` needed — MSYS2 installs Qt to a prefix CMake finds automatically
3. Build: `Ctrl+F9` | Run: `Shift+F10`
### VSCode