62a80634fa
This is a followup to 7932e3a as it would otherwise be hard to detect processes terminated by internally or externally sent signals. Without this patch the widget continues to operate as if nothing has changed without offering a way to react to the termination from within the application.
lib.pro is a *.pro-file for qmake It produces static lib (libqtermwidget.a) only. For creating shared lib (*.so) uncomment "dll" in "CONFIG" line in *.pro-file Library was tested both with HAVE_POSIX_OPENPT and HAVE_GETPT precompiler directives, defined in "DEFINES" line. You should select variant which would be correct for your system.