Better_Software_Header_Mobile Better_Software_Header_Web

Find what you need - explore useful information and developer resources

Areas of Interest

Searching…

845 results

A 50 second video with more to demystify the u"..."_s in your C++ code - from Jesper and Giuseppe D'Angelo.

Before sending his files up for code review, Jesper does a self review, where he reviews his changes. Qt Creator has a nice feature for this, but for the longest time he thought the "Diff Selected Files" feature was broken. In this episode he shows you how it really works.

This video shows how to run Clang-tidy, a static analysis tool for C/C++ code, warning its users about potential errors, performance problems or code that modern C++ allows to express in a better way. Often, clang-tidy can even apply modernizations automatically. Applying clang-tidy is not exactly intuitive, but successfully applied, it is an invaluable support in migrating large codebases to new C++ standards.

One thing is being told, yet another is to see for yourself. Which is why in this episode we will see the implementation of a tree model coded from scratch.

We finally made it here - with all the building blocks in place, watch this video to understand what it takes to implement a tree model.

When you implement a model, it is worthwhile remembering that one day an intern, with far less experience than you, might implement a proxy model which sits on top of your model and acts as the view. This proxy model might be broken in ways you couldn't even imagine, so better check that the index provided are actually referring to valid data in your model.

As the title suggests, here Jesper live codes a model based on QAbstractTableModel.

Finally, it is time to learn how to implement our own models. We will start with lists and tables in this episode, and later move on to tree models.

In the previous episode we saw the very high level view of model/view. Here, the descent towards actual code begins. On the way there we will discuss how to address the individual items in the views (while simple for a table, not so straightforward for a tree), and the properties we can get for each cell.

After two episodes talking about the item versions of lists, tables, and trees, we now turn our attention to the model/view version of that story. Using model/view offers a great opportunity to do a separation between business logic and presentation. In this episode we will learn how each of the parts fits together.

In this episode, we will continue looking at the item based widgets for lists, tables, and trees. We will cover "the current item", selection, sorting and event handling.

Qt has two kinds of lists, tables, and trees. One kind uses a model/view setup which gives a great separation between data and presentation. The other one is item based, meaning your data is stored in the items, just like the checked value is stored inside the checkbox.

This YouTube short summarizes changes needed to have a Qt Quick app work with both Qt 5 and Qt 6. It primarily focuses on required changes to QML and CMake files, but it also mentions other aspects of porting C++ and shaders that are discussed more in depth in other videos.

Shipping your app with all dependencies is hard. One way to solve this, is to use Docker on Embedded to combine all dependencies into a single update. In this video, Christoph presents Torizon, one Docker-based solution to handle images and updates on Embedded.

Building an embedded device is a challenge in itself, but bringing it to market means even more work. In this short 'Insights' video, Christoph describes what KDAB did for their customer Kistler, who builds some of the most precise pressure-measurement devices available, to bring a very mobile, handheld device from prototype to market.

The "Locator" in Qt Creator offers an extensive set of commands that make programming easier. In this video we show a subset of its features, hidden behind the Ctrl+K shortcut.