Burkhard Stubert

Latest posts — page 8

Is a C++ Float Variable Ever Equal to 0.0f?

The answer to the question in the title is a resounding "maybe". The writer of a piece of code wanted to avoid a division-by-zero error by checking whether the divisor of type float is not equal

Responsive QML HMIs with File Selectors

In my previous post, I have shown how to use scaling to adapt QML HMIs to different screen sizes and formats. We reach the limits of scaling if we must change the structure of the HMI or if the HMI

Responsive QML HMIs with Scaling

The HMIs of in-vehicle infotainment systems, TVs, phones and many other systems must adapt to different screen resolutions and formats. This adaptation should happen with as little duplicate effort as possible. The simplest way of doing this for QML

Offshoring Must Be About Finding Good Developers

Over the last 1.5 years, I worked with two Western automotive tier-1 suppliers who use near- and far-shoring to develop most parts of their infotainment systems. Both suppliers use offshoring to reduce their development costs. But how

QtCreator - Search & Replace with Captured Texts

I wanted to replace many occurrences of g_theme.themeDisplay(100, 80, 65) by g_theme.thSz([100, 80, 65]) in many QML files. The values of the three integer arguments varied from occurrence to occurrence. What I hoped for