Martin's Blog | Open source app development, setup instructions and stuff.

Archive

FPM: Cleaning up folders when uninstalling RPM packages 02 Jan 2023 When working in a larger organization (or you just want to ensure you are using a properly defined development environment), it is always a good idea packaging software components you...
Installing and Using a `pip` Package From Within a Python Script 18 Aug 2020 Recently, I needed the capability to install a package from PyPI via the pip package manager from within a Python script and use it from within the very same script....
Qt for Android - Installing A Library Built With qmake Into The Qt Directory 21 May 2019 Have you ever written a library on top of Qt? It is actually quite ease. Consider we have a very simple library called my-qt-lib, with the following structure: . ├──...
Using DelegateModel in QML for Sorting and Filtering 15 Jan 2019 When developing with the Qt framework, you might already have stumbled over its model view framework, consisting of classes like QAbstractItemModel, QTreeView and QSortFilterProxyModel. In particular, QSortFilterProxyModel is interesting: In...
Building Android Projects With Qt Creator And CMake 04 Aug 2018 As a Qt developer, you most likely are using qmake as a build system for your apps. It comes bundles with Qt, is easy to use and usually gets the...
Using FontAwesome 5 in QML 30 Mar 2018 FontAwesome is a set of icon fonts making it easy to beef up your user interfaces. It is mostly used in web applications (aka HTML/CSS), however, leveraging it to your...
Qt Quick Controls 2: Automatically Set The Width of Menus 13 Mar 2018 The Qt Quick Controls 2 module which Qt has introduced some time ago gets better and better with every release. With the new Fusion style it not finally gets interesting...
Prevent qmake from installing test cases 10 Jun 2017 If you use qmake to build your Qt based projects and at the same time the QtTest framework to write unit tests, you might have run into a strange behavior: Generated Makefiles...
Creating config header files using qmake 10 May 2017 In case you are using qmake as tool to build your Qt based application, you might sometimes jealously look over to other build systems like cmake for their support of...
Setting up suspend to hibernate in Fedora 28 Feb 2017 Important Note: When you upgrade to the current version Fedora 26 (which right now - July 2017 - ships with systemd 233), you might run into a regression which prevents...
Setting console font size on HiDPI screens in Fedora 21 Jan 2017 I recently switched to another laptop which has a HiDPI screen. As usual, the thing is running Fedora (currently in version 25). Especially the KDE desktop was quite easy to...
Fedora 21 (or later) not resuming from Suspend to Disk 03 May 2015 Consider this as a memo to myself (or a useful hint in case you ran into a similar issue recently ;) ): Some days ago, my Asus Zenbook stopped to...
Mac OS like gestures on Linux 03 Aug 2014 Recently, I changed from a Windows based PC on my work to a MacBook Air. That’s really great, mostly because of Mac OS provides a lot of the features I...
Intelligent Playlists - Part 2 09 Dec 2009 OK, so after the more general stuff in part 1, I now want to write about the theoretical side of the task. Besides “theoretical” might sound boring - it is...
Intelligent Playlists - Part 1 03 Dec 2009 So, beneath the usual university stuff and my job I have to do a practical work this term for the Applied Systems of Artificial Intelligence course I’m attending currently. Beneath,...