CppCon: a short interview with the organizer, John Kalb, about turning CppCon into a virtual event. Qt Desktop Days: a new online event hosted by KDAB and including a series of live online talks. Qt 3D is ready for Qt6 and will no longer rely only on OpenGL.
Qt Quick comes with a few visualizations useful for profiling its rendering performance. While these visualizations are built inside Qt Quick itself, there are a few downsides when using them directly. GammaRay makes them more accessible and useful; in this video, we are going to show you how.
GammaRay's Qt Quick inspector tool allows us to inspect not only all the current values for the properties of the items in our scenes, but also to visualize whether those properties are bound to something else.
This video explores GammaRay's Qt Quick Scenes inspector. It explains some of the many tools available when debugging a QML/Qt Quick application, for instance, how to visually pick the element we want to get a closer look at, or how to visualize pixel metrics.
GammaRay Qt Quick Scenes inspector lets you to visualize the object tree of a QML scene, the visual positioning of the items, and much more. This video shows how GammaRay solves a practical Qt Quick problem: why is my element not visible? GammaRay fixes it in seconds.
There are multiple ways for GammaRay to inject itself in a Qt application, depending on whether or not the application is already running and if the application is local or remote.This video explains the differences between the different ways of launching an application under GammaRay.
This demonstration video shows GammaRay in action, introducing the main aspects of its user interface. State machines in Qt can be created with a few lines of code. If there's something wrong, we have to use a regular debugger...or fire up GammaRay, which can reconstruct the state machine graphically and quickly identify the problem.
The first thing we need to do is build GammaRay for your system. This is actually very easy to do; just follow the instructions in this video, which shows you how to build GammaRay on Windows.
It is extremely advantageous to have a way to launch GammaRay right from within Qt Creator! This short video explains what to do to be able to launch GammaRay with a simple combination of keys.
This is the story of a bug in an open-source project I maintain; as the maintainer I review and sometimes fix bug reports from the community. Last week, a user reported that the 'File' menu of the application was not appearing on macOS. Some investigation showed this didn't happen when using the default translation (i.e […]
TL;DR: If you choose a default translation in your Qt application based on a locale name like this: then please change it to: Some of your users (me!) will be thankful that your application appears in the same language as the rest of their system. Background I'm a Polish guy working with computers, mostly on […]
This edition of KDAB News discusses: the benefits and downsides of open source software, Squish updates, CppCon and Meeting C++, and QStringTokenizer for Qt6 and Qt5.
Common render issues and their solution -Part 3
If you are here from Part 1, you missed Part 2, somehow. You have tried everything from the first two parts that seemed applicable, and your screen is still a window to the void? No problem: we’ve gathered another five reasons black screen issues could be happening and how to go about fixing them. Issue […]
This video shows you how to configure ListView to move by just one element at a time, effectively implementing a form of swiping through pages.
This video discusses ListView's built-in capabilities for animations. When a ListView is populated, or entries are added or removed from the model, etc., ListView can automatically trigger animations on the affected items.
GridView is a strict companion of ListView. As the name says, it's a view – something that shows delegates, instantiated from a model. The delegates are arranged in a reflowing grid, rather than in a vertical or horizontal sequence – a bit like a file manager in icon mode. Apart from this, GridView is extremely similar to ListView.
PathView is closely related to PathAnimation: it's a view that arranges its elements on an arbitrary path. The delegates instantiated by the PathView will move, like a carousel, on the path provided by the user. In extra features, we specify how to transform each delegate as it moves along the path (by modifying arbitrary properties such as scale, opacity, and so on).
Qt Quick Layouts are highly effective for automatically positioning and resizing elements. Acting as positioners, layouts organize their children based on criteria such as vertical, horizontal, or grid arrangements. Unlike positioners, they can also resize elements and provide a more comprehensive API for managing size control.
Today's blog post is about something that should be simple and apparently it causes trouble: how to declare a qHash overload for a custom datatype. This is necessary when we want to use custom datatypes as keys in a QHash. From the documentation: A QHash's key type has additional requirements other than being an assignable […]
This video is about the "clip" property. You can set it on any item in order to make it clip its children to its geometry. What has it to do with views? It's quite simple: ListView is generally an element where you always want clipping to be enabled, otherwise the entries in your list will "leak" outside of its borders.