~/talk

Rust binding for Qt : How to mix QML with Rust

Talkat Qt World Summit 2019 · 2019-11-04..11-06· [rust, frontend-architecture]
slides:none on file

Shows a working Rust-to-QML bridge called qmetaobject-rs that exposes Rust structs as QML types, implements properties, signals and methods, and bundles QML assets into a binary. Uses Rust custom derive to generate Qt metaobjects, the cpp macro to emit C++ glue, and a small C ABI layer for FFI; heavy-duty C++ APIs remain missing so some unsafe wrappers are still required. Demonstrates a QAbstractListModel-style example and a loadable QML plugin that runs successfully.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:05What is Rust and its benefits
  3. 5:02Existing Rust-Qt binding solutions
  4. 6:52Introducing QtRustTrait for QML
  5. 13:08Key Rust concepts for Qt
  6. 15:38Integrating Rust with C++
  7. 17:26Building a QML application in Rust
  8. 19:36QML plugins and Rust
  9. 20:22Q&A: Memory model and ownership
  10. 21:59Q&A: Unsupported C++ features
  11. 23:20Q&A: Rust-to-C++ bindings
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.