C++

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
Tuukka Turunen

Qt Roadmap for 2016

Published Monday February 22nd, 2016 | 68 Comments on Qt Roadmap for 2016
Posted in Biz Circuit & Dev Loop, C++, Qt, Releases, Roadmap

The year 2016 is very exciting for Qt as we will publish three important Qt releases: Qt 5.6 in March, Qt 5.7 targeting May and Qt 5.8 targeting October. I’ll walk you through the most important content of the releases, and explain the rationale behind our roadmap. Overall Strategy and Focus Areas The overall Qt […]

Read More
Laszlo Agocs

Integrating custom OpenGL rendering with Qt Quick via QQuickFramebufferObject

Published Monday May 11th, 2015 | 7 Comments on Integrating custom OpenGL rendering with Qt Quick via QQuickFramebufferObject
Posted in C++, Embedded, Graphics, OpenGL, Qt Quick

Integrating custom OpenGL rendering code, for example to show 3D models, with Qt Quick is a popular topic with Qt users. With the release of Qt 5.0 the standard approach was to use the beforeRendering and afterRendering signals to issue the custom OpenGL commands before or after the rendering of the rest of the scene, […]

Read More
Laszlo Agocs

Qt Quick with the power of OpenCL on Embedded Linux devices

Published Monday April 20th, 2015 | 9 Comments on Qt Quick with the power of OpenCL on Embedded Linux devices
Posted in C++, Embedded, Graphics, Multimedia, OpenGL, Qt Quick

Many Qt users encounter a need to integrate GPU compute solutions into their Qt-based applications. What is more, with the advent of compute API implementations and powerful GPUs on embedded devices, using OpenCL or CUDA on an Embedded Linux device is a reality now. In a previous post we looked at NVIDIA’s Jetson TK1 board […]

Read More
Kai Koehne

Qt Weekly #13: QStringLiteral

Published Friday June 13th, 2014 | 13 Comments on Qt Weekly #13: QStringLiteral
Posted in C++, Qt | Tags: , ,

QStringLiteral is a macro that allows you to create QString objects from string literals with little to no runtime overhead. However, its usage can be tricky especially in code that must compile with different compilers, like the Qt code itself. This blog post lists some guidelines to help you avoid the pitfalls. QString is the […]

Read More
Leena Miettinen

Qt Weekly #2: Localizing Qt Quick Apps

Published Wednesday March 19th, 2014 | 11 Comments on Qt Weekly #2: Localizing Qt Quick Apps
Posted in C++, Qt | Tags:

Most people feel more comfortable using applications in their native language. To attract as many users as possible for your apps, you should localize the apps to the languages spoken by the users in the regions that you target. Qt makes this easy by providing tools for localizing C++ and Qt Quick apps into local […]

Read More
Kai Koehne

Qt Weekly #1: Categorized Logging

Published Tuesday March 11th, 2014 | 15 Comments on Qt Weekly #1: Categorized Logging
Posted in C++, Qt | Tags: ,

Categorized logging allows you to structure your logging statements into categories, and to conveniently configure logging for individual categories in a central place. The feature is part of Qt 5.2, but will get some convenient extensions in Qt 5.3. Since the dawn of times Qt has had it’s own little logging helpers – qDebug(), qWarning(), […]

Read More
Eskil Abrahamsen Blomfeldt

Implementing in app purchase on Android

Published Thursday December 12th, 2013 | 3 Comments on Implementing in app purchase on Android
Posted in Android, C++, Qt, Qt in use, Qt Quick, Qt Quick 2, Qt Quick 2.0, Tutorial

In-app purchase is an increasingly popular form of application monetization, especially in saturated markets such as the mobile apps markets, since it enables users to download applications for free and try them out before they pay. When the only thing you have to lose is time, the threshold for installing an unknown application is likely […]

Read More
Eskil Abrahamsen Blomfeldt

Anatomy of a Qt 5 for Android application

Published Tuesday July 23rd, 2013 | 41 Comments on Anatomy of a Qt 5 for Android application
Posted in Android, C++, cross-platform, integration, QPA, Qt, Qt in depth

To those of you who were at the Contributor’s Summit, I said that I would write a few more technical blogs about Qt 5 for Android in the near future. This first blog accompanies my session at the CS quite well, as it will give some insight into how the different pieces in the Qt […]

Read More
Get started today with Qt Download now