Mixing C++ and Rust - Visualizing Data with Rust and Qt

Описание к видео Mixing C++ and Rust - Visualizing Data with Rust and Qt

CXX-Qt is KDAB's extension to CXX, which adds Qt features like properties, signals and slots to CXX.
In this step-by-step tutorial, we implement a QAbstractItemModel subclass, which is key to exposing structured data to QML.
At the end we'll have a small Todo app that drives the data entirely from Rust and doesn't even need any C++ code.

Links:
QAbstractListModel documentation: https://doc.qt.io/qt-6/qabstractlistm...
KDAB Training Courses: https://training.kdab.com/
CXX-Qt repository: https://github.com/KDAB/cxx-qt/
CXX-Qt documentation: https://kdab.github.io/cxx-qt/book/
CXX-Qt Zulip: https://cxx-qt.zulipchat.com/
CXX documentation: https://cxx.rs/

You can also take a look at our other resources to get started with CXX-Qt:
The CXX-Qt Book: https://kdab.github.io/cxx-qt/book/
CXX-Qt Github Repository: https://github.com/KDAB/cxx-qt/
Example code used in this video: https://github.com/KDAB/cxx-qt/tree/m...

00:00 Welcome & Final app
01:45 QAbstractItemModel and QAbstractListModel
02:45 Project Setup
05:00 Rust backend struct
07:45 Importing Qt types
11:45 Declaring a QAbstractListModel subclass in Rust
17:45 QEnum for data roles
18:15 Implementing QAbstractItemModel functions
26:30 QML GUI with a Rust model
30:30 Building the app
33:30 Adding mutability
44:20 Final app
45:45 Summary & Outro

All 'How to Integrate C++ and Rust' videos:    • How to Integrate C++ and Rust  

About the host:
Leon Matthes is a passionate Rust advocate and engineer since 2019. He has been working on KDAB's Rust R&D efforts by co-authoring CXX-Qt, KDABs open-source Rust-Qt interoperability framework.

Every month our newsletter is featuring technical blogs on Qt, C++ and 3D topics: https://www.kdab.com/development-reso...

About KDAB:
KDAB offers experienced software experts to help you deliver functional, high-performing, and innovative software across embedded, mobile, and desktop platforms for projects using C++, Qt, QML/Qt Quick, OpenGL, Qt 3D, and more. https://www.kdab.com/software-services

KDAB experts regularly take time out to deliver KDAB’s world class training, in-house or at open enrollment courses around the world. We are the market leaders for training in Qt, OpenGL, and C++.

Contact us to find out more at [email protected] or visit our website: https://www.kdab.com/software-service...

KDAB Group has 100+ employees across Americas, Europe and Asia. The main offices are in Germany, France, the UK, Binghamton, NY (USA), Houston, TX (USA), and Sweden
https://kdab.group/contact/

Комментарии

Информация по комментариям в разработке