Blog Archives

KDE still makes Qt

A couple of years ago, I made a blog post, KDE makes Qt, with data about which percentage of Qt contributions came from people starting in KDE. Basically, how many Qt contributions are made by people who used KDE as

Posted in english, kde, qt

Leaky lambdas and self referencing shared pointers

After a bit of a debugging session, I ended up looking at some code in a large project

The connection gets removed when the pointer inside m_foo gets de-allocated by the shared_ptr. But the connection target is a lambda

Posted in english, kde, qt

Let Qt models meet std::vector<std::tuple<…>>

The problem So. I was stuck with a container of tuples that I wanted to see in a Qt view (QTableView, QtQuick ListView or similar). So how to do that? Another problem: I haven’t been doing fun things with templates

Posted in english, kde, Pocket projects, qt

R is for Randa

This week I have been gathered with 38 KDE people in Randa, Switzerland. Randa is a place in a valley in the middle of the Alps close to various peaks like Matterhorn. It has been a week of intense hacking,

Posted in debian, english, kde, qt

Compilers and error messages

So. I typo’ed up some template code the other day. And once again I learned the importance of using several c++ compilers. Here is a very reduced version of my code:

And let’s start with the compiler I was

Posted in english, kde, qt

KDE at Qt World Summit

So. KDE has landed at Qt World Summit. You can come and visit our booth and … hear about our amazing Free Qt Addons (KDE Frameworks) stories about our development tools meet some of our developers Talk about KDE in

Posted in english, kde, qt

Getting a Q_INVOKABLE C++ function reevaluated by QML engine

Unfortunately, with all the normal magic of QML property bindings, getting a property updated in a setup that involves return values from functions isn’t really doable, like this:

I’m told there is a low priority feature request for a

Posted in english, kde, qt

QImage and QPixmap in a Qt Quick item

For reasons I don’t know, apparantly a Qt Quick Item that can show a QImage or a QPixmap is kind of missing. The current Image QML item only works with data that can be represented by a URL. So I

Posted in english, kde, qt

KDE makes Qt

Recently I was trying some statistics on the qtbase-module (where QtCore, QtGui, QtWidgets and so on lives) and was wondering who made them. Not based on their current paid affilation, like Thiago’s graphs, but if each commit was made by

Posted in english, kde, qt

CMake skeleton for small Qt projects

For small Qt-projects, I have for a long time been using qmake, mostly because qmake -project gives me a working build in most cases, but once the project grows a bit, I have switched to cmake because there is just

Posted in debian, english, kde, qt