Qt

Recommended way to use QThread in Qt 4.4 and above

Posted on

Qt provides a QThread class for creating multi-threaded applications. Unfortunately, there is some confusion about how to use QThread. This post talks about the foundation laid out in QThread class, and also describes how you should use Q-streams in your applications.

Qt

How to install Qt on Ubuntu

Posted on

Introduction This tutorial gives instrustions how to install Qt 5.9.0 on Ubuntu 16.04. Perhaps it can be used for newer versions of Qt and Ubuntu too. A difference for OpenGL has been found and added as a note below.

Git

How to fix a Git detached head

Posted on

HEAD is the symbolic name for the currently checked out commit. When HEAD is not detached (the “normal”1 situation: you have a branch checked out), HEAD actually points to a branch’s “ref” and the branch points to the commit. HEAD is thus “attached” to a branch. When you make a new commit, the branch that […]