Qt

How to use QThread in the right way

Posted on

A short history Long long ago, subclass QThread and reimplement its run() function is the only recommended way of using QThread. This is rather intuitive and easy to used. But when SLOTS and Qt event loop are used in the worker thread, some users do it wrong. So Bradley T. Hughes, one of the Qt core developers, recommend […]

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.