fryorcrakenandClaude Sonnet 4.6 410f4abb68 tutorial: add .gitignore before git add -A in step 3.1
Without a .gitignore, vendored C library binaries (lib/*.so, lib/*.dylib,
lib/*.a) and the Nix result symlink get staged by git add -A. Add a
.gitignore block to the tutorial so readers exclude them from the start.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-27 16:45:30 +11:00
2026-03-26 12:04:09 +01:00
2026-03-26 12:04:09 +01:00
2026-03-26 12:04:09 +01:00
2026-03-26 12:04:09 +01:00
2026-03-26 12:04:09 +01:00

logos-tutorial

Tutorial series and reference documentation for building Logos modules.

Start Here

New to Logos? Start with the developer guide -- it walks through creating, building, packaging, and running your first module:

Next Tutorials

Step-by-step tutorials that build on each other. Each creates a working module you can run.

  • Part 1: Wrapping a C Library -- build calc_module, a core module that wraps a C library (libcalc). Covers external library configuration, CMake integration, building, inspecting with lm, testing with logoscore, and packaging with nix-bundle-lgx.

  • Part 2: Building a QML UI App -- build calc_ui, a QML-only UI plugin that calls calc_module through the logos.callModule() bridge. No compilation needed.

  • Part 3: Building a C++ UI Module -- build calc_ui_cpp, a native C++ Qt widget plugin with typed backend calls to calc_module via LogosAPI*.

Example Modules

Working module source code used by the tutorials:

Directory Module Type Tutorial
logos-calc-module/ calc_module Core (wraps libcalc) Part 1
logos-calc-ui/ calc_ui QML UI Part 2
logos-calc-cpp-ui/ calc_ui_cpp C++ UI Part 3
S
Description
WIP
Readme
19 MiB
Languages
C++ 53.2%
QML 23%
Shell 8.8%
CMake 5.2%
Nix 4.7%
Other 5.1%