Welcome to our examples folder, here you will find various full examples that demonstrate different features and are used as part of the unit tests.
A minimal example can be found in the qml_minimal
folder which shows how to expose basic properties and invokables.
Then we have multiple other examples availabe inside the projects
- Defining properties and invokables
- Handling property changes on the Rust side
- How to (de)serialise QObjects
- Using threaded logic
- Using Qt types such as QVariant
- Exposing the Rust objects via a QQmlExtensionPlugin
For documentation on how to use these features please visit our Book https://kdab.github.io/cxx-qt/book/.