2ec7abf56e
This way anyone listening to 'activity' signals can safely re-set the flag to 'false' by calling setMonitorActivity(true) again. Right now this is not guaranteed as the signal is handled asynchonously (and indeed in my PyQT-based application the signal would be handled *before* the flag is set to 'true'...)
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.