Overview of CXX-Qt
mainCXX-Qt is a library designed to automate the generation of code for transferring data between Rust and C++. It enables the creation of common interfaces, such as QObjects, which can be exposed directly into QML.
Key architectural details:
- Internal Dependency: It relies on the
cxxcrate to facilitate the Rust/C++ boundary. - Extensibility: For Qt interactions not covered by the built-in code generators, it is recommended to implement the logic directly in C++ and connect it to Rust using
cxxcode. - Build System: The build system is based on CMake, but it remains compatible with standalone
cxxworkflows.