Crate cxx_qt_build
source ·Expand description
This crate provides a builder which parses given Rust source code to search for CXX-Qt or CXX macros and generate any resulting C++ code. It also builds the C++ code into a binary with any cxx-qt-lib code and Qt linked.
Structs§
- Run cxx-qt’s C++ code generator on Rust modules marked with the
cxx_qt::bridge
macro, compile the code, and link to Qt. This is the complement of thecxx_qt::bridge
macro, which the Rust compiler uses to generate the corresponding Rust code. No dependencies besides Qt, a C++17 compiler, and Rust toolchain are required. - Metadata for registering a QML module with crate::CxxQtBuilder::qml_module