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++, […]
Blog Archives
Projection Matrices with Vulkan – Part 1 How transformations differ from OpenGL to Vulkan
This post explains the difference between OpenGL and Vulkan transformations and how to adapt code to get the desired results, plus actually understanding what's going on.
Supercharging VS Code with C++ Extensions
In a previous blog we demonstrated the most straightforward method to optimize Visual Studio Code for a Qt / C++ environment: simply let the tools do all the work! The example GitHub project we discussed automatically installs both the Microsoft C/C++ and clangd extensions into VS Code. You might wonder why you need both C++ […]
Qt for VS Code, the TL;DR version Using VS Code IDE to work on Qt project
Our colleague Alessandro Ambrosano created a series of blogs (parts 1, 2, and 3) that explain how to get Visual Studio Code configured for Qt development. In that series, Alessandro covers all the details you need to get your VS Code environment configured exactly the way you want it. But there’s a lot there to […]
KDAB at Meeting C++ in Berlin November 12th - 14th
KDAB is proud to be a Silver Sponsor at this year’s Meeting C++, a highly recommended 3-day hybrid event for the European C++ community, offering 44 Talks in 4 tracks, November 12th – 14th. While this is also an in-person event, there is a substantial concurrent online program, so that high-class international speakers can easily […]
New Training Course: Embedded Rust joins the KDAB Training portfolio
We’re happy to announce a new addition to our training portfolio, ‘Embedded Rust’, an online training taking place over a period of 6 half-days, and conducted by our partner, Ferrous Systems.
PSA: QPointer has a terrible name
Today’s blog post is about a small utility class in Qt with a… questionable name: QPointer. If you’re new to Qt, maybe don’t check out QPointer’s documentation just yet, and try to guess what the class does based on its name alone. I’ve seen countless users being very confused by it. Some end up using […]
GitHub Actions for C++ and Qt How to use GitHub Actions for C++ and Qt projects
You may already be hosting your code on GitHub, but do you know that GitHub provides a built-in Continuous Integration solution called GitHub Actions that is very easy to set up and free for public repositories? In this article I’m providing a crash course on what GitHub Actions are and how to use it for […]
See you in Berlin in November 2023?
In just a couple of months, there’s going to be not one, not two, not three, but four fantastic developer events in Berlin! We are not going to miss any of them, and so shouldn’t you. November 12-14: Meeting C++ If you are a C++ developer, do not miss the 2023 edition of Meeting C++. […]
Optimizing and Sharing Shader Structures
When writing large graphics applications in Vulkan or OpenGL, there’s many data structures that need to be passed from the CPU to the GPU and vice versa. There are subtle differences in alignment, padding and so on between C++ and GLSL to keep track of as well. I’m going to cover a tool I wrote […]