CMake and GNU Gettext

29 Mar, 2026 - 2 minutes
I wanted to add translation support to my personal project using CMake and Gettext. CMake itself contains a module to find and work with Gettext translation files. It looked simple, but not everything goes according to plans. It is always easy to blame someone else. I got confused by different examples. First example showed a file structure as locale/${language}/MyApp.po, which failed me when I was trying to integrate it into my program. This in combination with me playing with it cause the CMake generation fail in error basicaly saying The target with the name "MyApp" already exists.. That is because the basename is the same between multiple languages.

Yearly cleanup and KDevelop

7 Jan, 2026 - 3 minutes
Every year in the winter I do a cleanup of the packages I have installed in my system. These things accumulate over the year, be it unused packages, orphaned / renamed packages in the repositories or things from AUR. The aim is to remote things which are not needed anymore. This year, the biggest sacrifice was most of the Qt5, becuase most of the programs I use switched to Qt6, so I decided to remove Qt5 packages which are not needed, this includes KDE Framworks 5 packages.

When a bug is a feature

5 Sep, 2025 - 2 minutes
After porting Falkon to Qt6 the WebIspector started working when JavaScript was disable. I and few people who help with Falkon development were of an opinion that this is a new feature of Qt6 and did not look too deep into it. What a nice feature to have. It has a dark side as well, after porting to Qt6 the WebInspector settings were not saved into the profile. It was a bummer. I tried to investigate it but came with nothing, I looked at it from a wrong angle and wasted a lot of time. The solution was simple, initialize the QWebEngineView with an active QWebEngineProfile and the settings will be remembered.

Specialized device for a task

3 Jun, 2025 - 6 minutes
Introduction While modern people can use smart phones for almost anything, I came to conclusion that while it is jack of all trades it rarely gets things right. I do not know if it is because I am old fashioned or just too slow to adapt. I am unable to accept using touchscreen devices for longer than few minutes (moments). The main advantage in using specialized device is for me to have specialized functions such as special screen, better battery life, keyboard with special keys/buttons, and overall environment which allows me to focus on the given task (or just relaxing) without being disturbed by some annoying notifications (like most smart phones do when you use them a bit more). In other words I am able to separate tasks and focus only on them.