QThread provide two approaches to concurrency. This chapter discusses how to create and communicate with processes and threads and offers techniques for monitoring and debugging them.
QProcessand Process Control
QProcess is a convenient (and cross-platform) class for starting and controlling other processes. It is derived from
QObject and takes full advantage of signals and slots to make it easier to “hook up” with other Qt classes.
[ . . . . ]#include <QObject>#include <QProcess>class LogTail : public ...