Qt 3D, being a retained mode high level graphic API abstraction, tries to hide most of the details involved in rendering the data provided by applications. It makes a lot of decisions and operations in the background in order to get pixels on the screen. But, because Qt 3D also has very rich API, developers […]
A few weeks ago, we published an article with an overview of Visual Studio Code through the eyes of a Qt developer. In this short blog series, I will show you how to get up to speed with a Qt project using Visual Studio Code more in detail. Before digging into the Qt parts, I’d […]
KDAB will be gold sponsors at QtDay Italy November 20-21st. The event is entirely focused on Qt and Qt-related technologies and has grown to be the biggest Qt event in the region. Presented below is the talk and workshop from KDAB Back to Basics: writing a model (Workshop) – Giuseppe D’Angelo Date/Time Tue Nov 17, […]
Task 1 View Task 1 Proxy types can be tricky. If we got a QChar (or a reference to a QChar) by accessing a character in a QString with the operator as most people would expect to, the automatic type deduction requested by auto current = hello[i] would deduce that current is of type QChar. […]
While the concept of multithreading may be straightforward, code with threads is responsible for some wicked bugs, which can be nearly impossible to reproduce or track down. This makes writing bullet-proof code using threads a tall order. Let’s look a little deeper into why that is. First, you need better than average knowledge about the […]
KDDockWidgets is an effort by KDAB to provide an advanced docking system for Qt that QDockWidgets doesn't support. Features include: nesting dock widgets in a floating window, docking to any main window, tab bar with detachable tabs, inner customizable helper widgets.
As mentioned in the previous article in this series, Qt 3D 5.14 is bringing a number of changes aimed at improving performance. Most people familiar with Qt 3D will know that the API is designed around the construction of a scene graph, creating a hierarchy of Entities, each of them having having any number of […]
In the last episode of this series we discussed QAbstractItemModel::checkIndex(). QAbstractItemModel::checkIndex() is a function added in Qt 5.11 that allows developers of model classes to perform some validity checks on the QModelIndex objects passed to the model; specifically, on the indices passed to the APIs that model classes need to implement (rowCount(), columnCount(), data, setData(), […]
Some months ago Shawn Rutledge blogged about the new QtPdf module, a Qt wrapper around the PDFium library, which allows you to render PDF documents to QImages. Since that blog post we have invested some more work into the module to make it more useful in your day-to-day projects.
This paper outlines everything you need to take into account when considering Qt as a new framework, so you can decide for yourself if this cross-platform tool is the right choice. It covers: learning curves and initial configurations where to find experts and mentors, or source compatible components which platforms are targeted support for embedded ability […]