This KDAB News edition includes an interview with Leon Matthes on KDBindings reactive programming and data binding in C++, Qt 6.3 Alpha release, and Tip of the month.
In a recent email, KDABian Leon Matthes highlighted some of his go-to command line tools for everyday use on Unix. His recommendations sparked a lively exchange among our colleagues, each sharing their own favorite utilities. Many of these tools offer efficient alternatives to standard Unix programs, speeding up the workflow or otherwise enriching the development […]
In this video Leon presents our first Qt and Rust demo at Embedded World. The front end is made with Qt/QML while the backend is written in Rust. Our CXX-Qt library is used to interact between Qt and Rust.
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.
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.
CXX is an opinionated library that allows mixing C++ and Rust in a safe and idiomatic way. In this step-by-step tutorial, we implement an example application that uses CXX to bridge between C++ and Rust. In the following videos, we will expand on this knowledge to add Qt to the mix with CXX-Qt.
In the last months, governments around the world have put a focus on memory safe programming languages. For C++ projects, Rust has often been suggested as the natural choice to port to.
CXX-Qt is a set of Rust crates for creating bidirectional Rust ⇄ C++ bindings with Qt. It can be used to integrate Rust into C++ applications using CMake or used to build Rust applications with Cargo. CXX-Qt provides tools for implementing QObject subclasses in Rust which can be used from C++, QML, and JavaScript.
Rust's slogan "Fast, Reliable, Productive – Pick Three" captures its appeal as a modern programming language offering unparalleled compile-time safety with C/C++ matching performance. Given C/C++'s complexities and security issues, major tech companies are adopting Rust as an alternative, evidenced by the Rust Foundation's formation. KDAB has explored solutions allowing existing Qt developers to integrate this technology.
CXX-Qt library authors answer common questions about Rust bindings for Qt, covering existing binding options, when to use each, why they developed a new binding, where Rust adds the most value in Qt applications, whether C++ knowledge is required, and future development plans.
Rust has been the most beloved programming language in StackOverflow surveys since 2016, offering safer and easier programming than C++. It's an ideal replacement for C++ backend code in Qt applications. CXX-Qt enables idiomatic integration that seamlessly works with existing C++ and Rust code.
KDAB sponsors this year's Qt World Summit, offering a customer case presentation and two talks on the agenda. KDAB also hosts the popular KDAB Training Day on the day after QtWS.
We just released CXX-Qt version 0.7! 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. […]
In our earlier blog, The Smarter Way to Rust, we discuss why a blend of C++ and Rust is sometimes the best solution to building robust applications. But when you’re merging these two languages, it’s critical to keep in mind that the transition from C++ to Rust isn’t about syntax, it’s about philosophy. Adapting to […]
If you’ve been following our blog, you’re likely aware of Rust’s growing presence in embedded systems. While Rust excels in safety-by-design, it’s also common to find it integrated with C++. This strategic approach leverages the strengths of both languages, including extensive C++ capabilities honed over the years in complex embedded systems. Let’s delve into some […]
We just released CXX-Qt version 0.6! CXX-Qt is a set of Rust crates for creating bidirectional Rust ⇄ C++ bindings with Qt. It can be used to integrate Rust into C++ applications using CMake or build Rust applications with Cargo. CXX-Qt provides tools for implementing QObject subclasses in Rust that can be used from C++, […]
Here at KDAB, we recently published a library called KDBindings, which aims to reimplement both Qt signals and slots and data binding in pure C++17. To get an introduction to the KDBindings implementation of signals and slots, I recommend that you take a look at the KDBindings Getting Started Guide. It will give you an […]
While an all-Rust approach works for some systems, most companies have extensive existing C and C++ code. Rust's design, rooted in Mozilla Firefox's development, has always aimed to integrate with these languages. By consulting Rust experts, we've developed guidelines for harmoniously blending Rust with C and C++ in various scenarios.
Addressing non-app store software updates necessitates careful planning and execution across the entire ecosystem. Here are some expert-recommended practices to consider.