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.
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.