Elektrine lite

← Feed

@kdab@techhub.social

Post #2488771

2026-04-29 09:45 UTC

@michalfita@mastodon.social @marmarta@chaos.social Qt Widgets can be used from CXX-Qt, but since much of the API relies on raw pointers, it can result in a lot of unsafe Rust — essentially just writing C++ in Rust — which offers little benefit on the UI side. If you really need Qt Widgets, a better approach is to keep the GUI logic in C++ while moving the models and backend to Rust. That works well, as things like QAbstractListModels can be exposed cleanly through CXX-Qt. If you have more questions, feel free to join the discussion on the CXX-Qt Zulip https://cxx-qt.zulipchat.com/ or open a GitHub discussion.

Replies (0)

No replies.