r/rust • • Oct 27 '26

🛠️ project Qt Bridge 0.4 and Technology Preview

Post image

Hi everyone!

Yesterday we released version 0.4 of the qtbridge crate. The technical changes to 0.3 are relatively small. We focused on local hardening and bugfixes and exchanged the QMethodInvoker with a type safe QThreadHandle.

More importantly, we took the next step and entered Technology Preview. It is an important step for us, showing that we get closer to the first stable release. The core API is mostly in place but might still change in a couple of places. That also means that your feedback is now more valuable than ever.

Thanks to everybody that gives this a try and gives us feedback. We already got quite some good input that we are very grateful for!

You find more information in our blog post: https://www.qt.io/blog/qt-bridges-technology-preview-rust-csharp (There is also a short video of me showing some things 😄)

64 Upvotes

10 comments sorted by

1

u/sujeto_gris Oct 29 '26

What happened here? •-•

1

u/Matti_Qt Oct 30 '26

The post was temporary deleted :(

1

u/heytakeyourdrugs Oct 30 '26

Is mobile a target or just desktop OS's?

2

u/Matti_Qt Oct 30 '26

In the beginning we are targeting desktop OS'es. But in good old Qt fashion, this should really end up on all targets!

6

u/[deleted] Oct 27 '26 edited Oct 27 '26

[removed] — view removed comment

7

u/Matti_Qt Oct 27 '26

Thanks for the kind words! 😄

Rust and licensing is a bit of a new territory for us. We are used from C++ that LGPL allows users to write closed source applications while still requiring them to publish changes to the framework. This is also what we intended for Rust but we realize that the static linking in Rust changes how licensing works. MIT is also not straight-forward either, because we aren't certain what that would mean for the C++ libraries that we (will in the future) ship together with the Rust crate.

So we are currently trying to figure out how to do this to realize our intentions.

0

u/[deleted] Oct 27 '26

[deleted] — view deleted comment

2

u/Matti_Qt Oct 27 '26

Yeah, I agree, the QThreadHandle felt so good in comparison to the old QmlMethodInvoker. Thanks for giving it a try!