this post was submitted on 31 Oct 2024
13 points (93.3% liked)

Rust Programming

8168 readers
1 users here now

founded 5 years ago
MODERATORS
 

CXX-Qt is a set of Rust crates for creating bidirectional Rust ⇄ C++ bindings with Qt. It supports integrating Rust into C++ applications using CMake or building Rust applications with Cargo. CXX-Qt provides tools for implementing QObject subclasses in Rust that can be used from C++, QML, and JavaScript.

For 0.7, we have stabilized the cxx-qt bridge macro API and there have been many internal refactors to ensure that we have a consistent baseline to support going forward. We encourage developers to reach out if they find any unclear areas or missing features, to help us ensure a roadmap for them, as this may be the final time we can adapt the API. In the next releases, we’re looking towards stabilizing the cxx-qt-build and getting the cxx-qt-lib APIs ready for 1.0.

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 0 points 2 weeks ago (1 children)

I'm a rust & qt neophyte: is kde now rust?

[–] [email protected] 3 points 2 weeks ago

You could use this crate to build a Rust program which uses the Qt GUI framework and therefore would feel rather 'native' in KDE.
But the vast majority of KDE applications continue to be implemented in C++.