Sign up for the KDAB Newsletter
Stay on top of the latest news, publications, events and more.
Go to Sign-up
Find what you need - explore our website and developer resources
19 November 2024
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 extend our "Hello World!" application from the last video with a very basic Qt GUI.
In the next video, we'll cover how to export data structures (like lists) to Qt with a simple Todo app.
Links:
* 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/main/examples/qml_minimal
- https://github.com/KDAB/cxx-qt/tree/main/examples/qml_basics
00:00 Welcome
02:00 CXX-Qt Overview
03:30 Project Setup - From CXX to CXX-Qt
07:45 QObjects with CXX-Qt
12:00 QProperties with CXX-Qt
14:30 QInvokables with CXX-Qt
19:30 Using Qt types from Rust with CXX-Qt-lib
21:30 QEnums with CXX-Qt
22:45 QML GUI using Rust types
29:30 Building the app with CXX-Qt-build
32:30 Starting Qt apps from Rust
36:15 Bug fixing
37:20 Summary & Outro
All 'How to Integrate C++ and Rust' videos: https://www.youtube.com/playlist?list=PL6CJYn40gN6jOg_cPqRfXMNriHknKy4VW
Stay on top of the latest news, publications, events and more.
Go to Sign-up
Learn Rust
In collaboration with our partners Ferrous Systems, KDAB provides a variety of introductory and advanced training courses for the Rust language.
Learn more
Learn Modern C++
Our hands-on Modern C++ training courses are designed to quickly familiarize newcomers with the language. They also update professional C++ developers on the latest changes in the language and standard library introduced in recent C++ editions.
Learn more