Q_FOREACH (or the alternative form, foreach) will be deprecated soon, probably in Qt 5.9. Starting with Qt 5.7, you can use the QT_NO_FOREACH define to make sure that your code does not depend on Q_FOREACH. You may have wondered what all the fuss is about. Why is there a continuous stream of commits going to into Qt […]
Blog Archives
Qt on Android: How to run C++ code on Android UI thread Useful features you need on Android that don't have a Qt API
I’d like to start a new series of Qt on Android articles, these will be small articles which will focus on useful features that you’ll need on Android but which don’t have any Qt API (yet). I’ll start with two pretty useful functions. These functions will help us to run C++ code directly on Android […]
What is GammaRay? 3 reasons to start using it today
What is GammaRay? For starters, it’s a powerful electromagnetic wave, as well as a way to treat cancer. It’s also an under-appreciated German speed metal band. And it’s what gives Dr. Bruce Banner his big green alter ego. But Qt aficionados will know the GammaRay that we’re talking about is an uber-powerful Qt debugger and introspection tool. If you’re […]
Tips from the Experts Introduction to a new series
You want to build the cleanest code, the smartest code, the fastest code. You’re the alpha geek on your team, or maybe you aspire to be. You have an all-encompassing need to know. Let me introduce a new series we’re going to be running here on the KDAB blog. I’m Andy Gryc, and for the […]
Qt 3D Technology Preview Released with Qt 5.5.0
KDAB is pleased to announce that the Qt 5.5.0 release includes a Technology Preview of the Qt3D module. Qt3D provides a high-level framework to allow developers to easily add 3D content to Qt applications using either QML or C++ APIs. The Qt3D module is released with the Technology Preview status. This means that Qt3D will […]
KDAB joins Khronos and welcomes Vulkan for next generation graphics
We are proud to announce that KDAB is now a contributor member of the Khronos Group, a not for profit, member-funded consortium focused on the creation of royalty-free open standards for parallel computing, graphics and dynamic media on a wide variety of platforms and devices. As a contributor member of the Khronos Group, KDAB is […]
Shadow Mapping in Qt3D 2.0
Continuing our blog post series about the rewrite of Qt3D. One of the biggest driving factors behind the design of Qt3D 2.0 is the ability to configure the renderer in order to accommodate custom rendering techniques. In this blog post I will explain how to render a scene in Qt3D with shadows.
Overview of Qt3D 2.0 – Part 2
An Example of Rendering with Qt3D In the previous article we learned about the requirements and high-level architecture of Qt3D 2.0. In order to put some of this into context and to give you a concrete example of how it looks to draw something in Qt3D using the QML API, we will now briefly show […]
Overview of Qt3D 2.0 – Part 1
Introduction Back in the days when Qt was owned by Nokia, a development team in Brisbane had the idea of making it easy to incorporate 3D content into Qt applications. This happened around the time of the introduction of the QML language and technology stack, and so it was only natural that Qt3D should also […]
Code highlighting in SlideViewer
A couple of months ago, Jesper Pedersen introduced our presentation tool for trainings, called SlideViewer. As SlideViewer is mainly used for our Qt and Squish trainings, we naturally have many code examples on the slides, ranging from C++ and QML to Python and XML. In this blog post, we will take a closer look at […]