David Faure
55 results
Qt Widgets with QStyle
13 April 2023
Introducing Solutions for Styling Qt Widgets
6 April 2023
This blog will give you a brief overview of profiling C and C++ applications. Additionally, it will lay before you all of the tools available, with the purpose of aiding you in choosing the right tools at the right times. The Steps for Profiling Before we look at the actual tools, let's go over the […]
In this blog on debugging and profiling, I would like to give you an overview of the debugging tools that exist for C and C++ applications. Automated Testing The first thing you need to do is make sure your code is properly tested. This, in itself, is not debugging, but it enables you to make […]
You have two choices when it comes to giving a custom style to your Qt widgets. Qt Style Sheets are very convenient for getting started -- just a few CSS-like rules, and they work. It is our experience, however, that Qt Style Sheets create too much trouble and a QStyle subclass (*) gives a better […]
Heaptrack Demo
7 December 2021
KDAB Profiling and Debugging Training Course
2 December 2021
While a CPU usually has about a handful of cores, a GPU has hundreds of them that work in parallel. Even simple 3D scenes sometimes deal with big data. Having said that, you quickly reach your limit with simple debug outputs. There are a couple of tools to help you understand what's going on under the hood. Let's take a look in this video.
Overview of Profiling Tools for C/C++ Applications
18 November 2021
Profiling and Debugging C/C++/Qt applications - Intro
11 November 2021
Overview of Debugging Tools for C/C++ Applications
11 November 2021
These are some really cool or obfuscated code snippets for your amusement. We didn't want to rate them, so the order doesn't mean anything at all :) Just to make sure that there's no misunderstanding: This code really is/was in the Qt or KDE repositories. From Kivio, main.cpp From Qt 2.2.1 (src/canvas/qcanvas.cpp) Writing code that […]
Auto-Accepting in QSortFilterProxyModel
Since Qt 6.0, QSortFilterProxyModel Can Auto-accept Child Rows of Rows Matching the Filter.
6 October 2021
In Qt 5.10, we added support for recursive filtering in QSortFilterProxyModel, which means keeping all parents of items matching the filter. One of the comments in the blog post about that feature was "Sometimes, you do not only want to show parents for a match (so the match is visible), you may (also) want to […]
If you ever need to create a project around a single C++ file (or just a few C++ files) in CMake, as you might for quick test cases, you might find it tedious to write a CMakeLists.txt file by hand every time. To make this easier, I've written a script called cmake-project that you can […]
Using Libraries with CMake
19 August 2021
Hello World in CMake
12 August 2021
CMake Introduction
5 August 2021
Qt6 switches to CMake
5 August 2021


