9be45d6a61
Porting of https://github.com/KDE/konsole/commit/1a61aaa5915b5c4a5b205e87d35c38562f932fe0 Fixes https://github.com/lxde/qterminal/issues/277
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.