Qt Bridge for Rust 0.3 released: built on CXX-Qt, focus on soundness

84 points Matti_Qt 25 comments

Hi everyone!

About three months ago we published the first beta of Qt Bridge for Rust (0.2), which lets you expose your Rust structs to QML through the QML engine, so you can build a GUI for your Rust code in QML. If you're not familiar with QML, you can browse some examples at https://try.qt.io/.

Since then we've ported most of the underlying code to CXX-Qt to get as much compatibility with the existing ecosystem as possible. We also spent a lot of time making the code sound and fixing memory issues from the first version. We felt that was enough progress to warrant a new release.

The API changed a little between 0.2 and 0.3, but most things work the same way, just with fewer bugs. Overall we feel it's starting to take good shape.

We're happy about every user, test, suggestion, and bug report. If you have questions, feel free to drop them here, on our Discord, the forum, or the bug tracker. All links are in the blog post:

https://www.qt.io/blog/qt-bridge-for-rust-0.3-cxx-qt-compatibility-and-soundness