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§
- CppFile
- This struct represents a C++ file to compile, together with appropriate options.
- CxxQt
Builder - Run cxx-qt’s C++ code generator on Rust modules marked with the
cxx_qt::bridgemacro, compile the code, and link to Qt. This is the complement of thecxx_qt::bridgemacro, which the Rust compiler uses to generate the corresponding Rust code. No dependencies besides Qt, a C++17 compiler, and Rust toolchain are required. - Interface
- When generating a library with cxx-qt-build, the library may need to export certain flags or headers. These are all specified by this Interface struct.
- MocArguments
- Arguments for a Qt moc invocation. See: QtToolMoc::compile
- QResource
- A
<qresource>block within a QResources - QResources
- A helper for building Qt resource collection files
- QmlFile
- A QML file to be included in a QML module (e.g. by ways of super::QmlDirBuilder).
- QmlModule
- This is a description of a QML module for building by the crate::CxxQtBuilder.
- QmlUri
- A builder for representing a QML uri
Enums§
- Plugin
Type - The build type of a Qt plugin