This 2021 News from KDAB includes an interview with Harri Porten, CEO, on froglogic’s acquisition by The Qt Company; Qt Embedded Days; Tool of the month: spdlog; Event notices and Resources.
For many developers, QNX is the operating system of choice, when it comes to developing on embedded systems. However, the performance limits are exceeded quickly, especially if you're working on low-end hardware. As a result, you'll likely need to perform an investigation to find the bottlenecks that contribute to reaching these limits, in order to […]
In your code, you will likely find numerous places where you go from an enum to a QString and back. This video shows you the smart way to do it, using Qt's introspection facilities.
A nice feature of QListView and QTreeView is that the user can adapt the width of the columns using the mouse. A problem with that, however, is what to do if the column width is not wide enough to show all text. In this episode we will present an adapter that allows your model to provide multiple different strings the view can choose from.
The third and last video of this mini-series on containers focuses on secure and efficient updates on your embedded hardware using automotive grade solutions for industrial needs.
Sometimes it's useful to establish a connection between a signal and a slot that should be activated only once. This is not how signal/slot connections normally behave. Remember that, when a connection is established, it will stay active until: the connection is explicitly disconnected; or the sender object is destroyed; or the receiver object is […]
What are containers and how can they help you save time and be more efficient in your embedded development? The first video of this 3 part mini-series on containers will give you the basic information to find out if and how containers can be useful for embedded development.
The second video of this 3 part mini-series on containers takes a much more detailed look into containers, thanks to our partner, Toradex, and their webinar.
Another day, another blog post about KDToolBox, KDAB's collection of miscellaneous useful C++ classes and stuff. Today, we'll talk about ways to throttle your signal/slots connections -- in other words, how to activate a slot less often than the emission rate of the signal it's connected to. The usual reason why you may want something […]
In this final episode, you will learn about how the templates are moved to specific sections, and I'll also share with you an "install" script that you (and your co-workers) can use to get the templates copied to the right place.
In this third video of the series on developing document templates for Qt Creator, we will see how we can ask the user for additional input in the "new file" dialog, and use that in the templates.
In this edition: Interview with Till Adam examining Flutter 2.0 as an alternative to Qt, Qt Embedded Days speaker and topic announcements, Qt Desktop Days call for talks and registration opening, and Tool of the Month: cutelyst.
This video introduces the Kuesa MeshInstantiator API. It aims at making it easier for developers to leverage Qt 3D's instanced drawing. This is a feature that Qt 3D has supported for years but is often overlooked.
In the previous blog post about qHash, we explained: how to declare an overload of qHash for your own datatypes, how to hash Qt datatypes for which Qt does not provide a qHash overload, and why you can't use a type from the Standard Library (or just another library) as a key in QHash (newsflash: […]
Giuseppe D'Angelo shares 6 tips for getting started with Qt 6. Whether you're switching immediately or later, this video provides best practices for early adopters and helps Qt 5 users understand Qt 6's impact on their applications.
Learn how to create custom document templates in Qt Creator through these four videos. This episode shows how to add a new .ui file to the generated file set, providing deeper insight into Qt Creator's macro system.
Learn how to create custom document templates in Qt Creator through these four videos. This first episode creates a simple class template based on the "C++ class" template, explains macro usage, and shows how macros expand into class names from the "new file" dialog.
I use many custom classes like Money, PercentageValue, and TimeValue with model/view. For years I've written `return QVariant::fromValue(cost);` in my QAbstractItemModel data methods. This short video shows a simple trick to avoid this.
A long time ago, I wrote a post about creating custom shapes in Qt Quick, via the scene-graph APIs. That post covered defining suitable geometry to draw a part of a circle, known also as a 'sector', efficiently, since such sectors occur commonly in instrument and vehicle interfaces. I started writing the second part, about […]
The scene used as the example here is a traditional 3D cube over a simple plane with metallic reflections and a cube reflection on the plane. The scene is done only using QML, 2D tricks and effects and KUESA Iro materials.