By Laszlo Agocs
Laszlo Agocs

Let There Be Shapes!

Published Friday July 7th, 2017 | 11 Comments on Let There Be Shapes!
Posted in Declarative UI, Dev Loop, Graphics, OpenGL, Painting, Qt Quick, UI

One of the new features of the upcoming Qt 5.10 is the introduction of the shapes plugin to Qt Quick. This allows adding stroked and filled paths composed of lines, quadratic curves, cubic curves, and arcs into Qt Quick scenes. While this has always been possible to achieve via QQuickPaintedItem or the Canvas type, the […]

Read More
Laszlo Agocs

Vulkan Support in Qt 5.10 – Part 3

Published Monday July 3rd, 2017 | Comments Off on Vulkan Support in Qt 5.10 – Part 3
Posted in Android, C++, Dev Loop, Graphics, OpenGL, QPA, Vulkan

In the previous posts (part 1, part 2) we covered the introduction and basic Vulkan instance creation bits. It is time to show something on the screen! QWindow or QVulkanWindow? If everything goes well, the release of Qt 5.10 will come with at least 5 relevant examples. These are the following (with links to the […]

Read More
Laszlo Agocs

Vulkan Support in Qt 5.10 – Part 2

Published Friday June 16th, 2017 | Comments Off on Vulkan Support in Qt 5.10 – Part 2
Posted in Android, Dev Loop, Graphics, OpenGL, QPA, Vulkan, Windows

In the previous instalment we looked at the background for Qt 5.10’s upcoming Vulkan support. Let’s now start digging out into the details. Obtaining a Vulkan-Enabled Qt Build When building Qt from sources on Windows, Linux or Android, Vulkan support is enabled automatically whenever a Vulkan header is detected in the build environment. Windows is […]

Read More
Laszlo Agocs

Qt from git on the Tinkerboard (with Wayland)

Published Wednesday May 3rd, 2017 | 6 Comments on Qt from git on the Tinkerboard (with Wayland)
Posted in Dev Loop, Embedded, Graphics, OpenGL, QPA, Qt Quick

The Asus Tinkerboard is a nice little board for Embedded Linux (or Android, for that matter), based on the Rockchip RK3288 SoC including a quad-core ARM Cortex-A17 CPU and a Mali-T760 MP4 (T764) GPU. Besides being quite powerful, it has the advantage of being available locally in many countries, avoiding the need to import the […]

Read More
Laszlo Agocs

Boosting performance with shader binary caching in Qt 5.9

Published Thursday March 23rd, 2017 | 3 Comments on Boosting performance with shader binary caching in Qt 5.9
Posted in Dev Loop, Graphics, OpenGL, Painting, Qt Quick

Now that Qt 5.9 is getting closer, let’s take a look at a minor but immensely useful improvement to the basic OpenGL enablers that form the foundation of Qt Quick and the optional OpenGL-based rendering path of QPainter. Those looking at the documentation snapshots for 5.9 may have already come across some new functions in […]

Read More
Laszlo Agocs

Building the latest greatest for Android AArch64 (with Vulkan teaser)

Published Friday February 24th, 2017 | Comments Off on Building the latest greatest for Android AArch64 (with Vulkan teaser)
Posted in Android, C++, Dev Loop, Graphics, Mobile, OpenGL, QPA, Qt

Let’s say you got a 64-bit ARM device running Android. For instance, the Tegra X1-based NVIDIA Shield TV. Now, let’s say you are also interested in the latest greatest content from the dev branch, for example to try out some upcoming Vulkan enablers from here and here, and want to see all this running on […]

Read More
Laszlo Agocs

OpenGL Core Profile Context support in QPainter

Published Friday January 27th, 2017 | 2 Comments on OpenGL Core Profile Context support in QPainter
Posted in C++, desktop, Dev Loop, Graphics, macOS, OpenGL, Painting, Qt, UI, Windows

As many of you may know, QPainter has a multi-backend architecture and has two main paint engine implementations under the hood in Qt 5: the raster paint engine and the OpenGL2 paint engine, designed for OpenGL ES 2.0. The GL Paint Engine While in many ways the raster paint engine can be considered one of […]

Read More
Laszlo Agocs

Inside QImage (with a touch of Qt Quick and OpenGL)

Published Friday January 20th, 2017 | 4 Comments on Inside QImage (with a touch of Qt Quick and OpenGL)
Posted in C++, Dev Loop, Graphics, OpenGL, Painting, Qt Quick | Tags: ,

QImage is the most common container for image data in Qt applications. Getting a QImage that contains the pixel data of an image loaded from a file is fairly self-explanatory: QImage img; img.load(“some_image.png”); This can then be used with QPainter, can be passed to widgets, and can also be utilized in Qt Quick scenes via […]

Read More
Laszlo Agocs

Which OpenGL implementation is my Qt Quick app using today?

Published Wednesday January 18th, 2017 | 4 Comments on Which OpenGL implementation is my Qt Quick app using today?
Posted in Declarative UI, Dev Loop, Embedded, Graphics, Performance, Qt Quick

Qt Quick-based user interfaces have traditionally been requiring OpenGL, quite unsurprisingly, since the foundation of it all, the Qt Quick 2 scenegraph, is designed exclusively with OpenGL ES 2.0 (the top of the line for mobile/embedded at the time) in mind. As you may have heard, the graphics API story is a bit more inclusive […]

Read More
Get started today with Qt Download now