This video will give you an overview of many debugging techniques and tools for C/C++ applications. This includes unit testing and other types of automated testing, code coverage, static code analysis, logging, assertions, tracing, debuggers, Gammaray, valgrind, sanitizers, and more.
Qt Creator supports a number of refactoring techniques by pressing Alt+Enter in the right places. Unfortunately, it isn't super easy to figure out where those places are. So, this and the following episode will show you all the known (to us) refactoring techniques.
Qt Creator supports a number of refactoring techniques by pressing Alt+Enter in the right places. Unfortunately, it isn't super easy to figure out where those places are. So, this and the following episode will show you all the known (to us) refactoring techniques.
Speidel took a risk allowing the founder's grandson to create the Braumeister home-brewing appliances, opening them to a new consumer market beyond their traditional commercial customers. KDAB modernized the software interface with online connectivity using Qt/QML.
Once again, the theme of the day is how to speed up Qt development with Visual Studio Code. In part 2 of this blog series, we walked through how to get a complete setup for your qmake and CMake projects, with a deeper look at the Qt side. This time, I will share a few […]
When tables or trees display varying data types, certain rows may need to stand out as headers for better organization and readability. This video series demonstrates setting up QTableView and QTreeView with header rows, and explains how models communicate to views which specific rows should be treated as headers rather than regular data rows.
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 […]
Here is the problem: You grep in Qt Creator and walk through a large number of hits, for each of which you need to make a change. Find out how to handle this in this video.
GammaRay 2.11.3 has been released! GammaRay is KDAB's software introspection tool for Qt applications. Leveraging the QObject introspection mechanism, it allows you to observe and manipulate your application at runtime. This works both locally on your workstation and remotely on an embedded target. Version 2.11.3 will be the last in the 2.11 series. After this […]
CppCon is the annual, week-long face-to-face gathering for the entire C++ community – the biggest C++ event in the world. This year, CppCon takes place both Online and at the Gaylord Rockies Hotel and Convention Center in Aurora, Colorado. KDAB is a Registration sponsor, and Ivan Čukić is offering a talk on Wednesday, October 27th […]
Wayland is a display protocol, a protocol (and accompanying C library) spoken by a graphical application with a display server in order to communicate about both input to the application (keyboard, mouse, ...) and about output from the application -- that is, the rendered window. Wayland was developed to replace the X11 server on the […]
Qt's model/view framework treats headers as views, making it easy to change properties like foreground color or font for header cells, just like table cells. However, one missing feature is checkbox support in headers. This video demonstrates adding header checkboxes, which is useful because unlike table content, headers don't scroll away when navigating through data.
This episode of KDAB News includes: Codeweek - Get involved!; When should you start to teach children coding?; How I got into coding and started my own coding school - Interview with Sumay McPhail, WEquil School founder and CEO; Qt 6.2 LTS released; Announcements.
In Qt Creator, it is possible to customize how your own data types are displayed. An instance of a money class may, for example, be displayed at €100. Learn how to set this up in this episode.
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 […]
This video includes the library presentation covering licensing, Qt integration with widgets and QML, code examples, and architecture discussion addressing performance, known issues, and cross-platform support considerations.
When you start GDB, it takes quite a long time to parse symbols from the binary and all of its dependencies. This, however, can be cached with almost no disadvantages. Learn how, in this video.
This video covers the library presentation including licensing, Qt integration with widgets and QML, code examples, and architecture discussion covering performance, known issues, and cross-platform support considerations.
A debugger is, without a doubt, a very useful tool to have. However, sometimes you debug just one step too far and wish you had a time machine to go back. Now, such a time machine does actually exist on Linux. It's called 'rr,' was developed by Mozilla to debug Firefox, and is far from just a toy.
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 […]