rust-qt-binding-generator/README.md

10 lines
500 B
Markdown
Raw Normal View History

2017-08-15 14:12:22 -07:00
# Rust Qt Bindings Generator
2017-08-02 14:29:32 -07:00
2017-08-25 08:07:47 -07:00
![Rust Qt Bindings](logo.svg)
2017-08-15 14:12:22 -07:00
This generator gets you started quickly to use Rust code from Qt and QML.
The building block of Qt and QML projects are QObject and the Model View classes. `rust_qt_binding_generator` reads a json file to generate QObject or QAbstractItemModel classes that call into generated Rust files. For each type from the JSON file, a Rust trait is generated that should be implemented.
This way, Rust code can be called from Qt and QML projects.