This library, original taken from https://github.com/sijk/qt-unix-signals
(but a maintained fork exists at https://github.com/nyalldawson/qt-unix-signals),
handles unix signal watching using the Qt libraries.
It allows for detection of signals like SIGINT and SIGTERM,
and allows Qt applications to respond gracefully to these.
Included in external libraries for use in QGIS terminal
applications.