A terminal emulator widget for Qt 5.
QTermWidget is an open-source project originally based on the KDE4 Konsole application, but it took its own direction later on. The main goal of this project is to provide a unicode-enabled, embeddable Qt widget for using as a built-in console (or terminal emulation widget).
It is compatible with BSD, Linux and OS X.
This project is licensed under the terms of the GPLv2 or any later version. See the LICENSE file for the full text of the license. Some files are published under compatible licenses:
Files: example/main.cpp lib/TerminalCharacterDecoder.cpp lib/TerminalCharacterDecoder.h lib/kprocess.cpp lib/kprocess.h lib/kpty.cpp lib/kpty.h lib/kpty_p.h lib/kptydevice.cpp lib/kptydevice.h lib/kptyprocess.cpp lib/kptyprocess.h lib/qtermwidget.cpp lib/qtermwidget.h Copyright: Author Adriaan de Groot <email@example.com> 2010, KDE e.V <firstname.lastname@example.org> 2002-2007, Oswald Buddenhagen <email@example.com> 2006-2008, Robert Knight <firstname.lastname@example.org> 2002, Waldo Bastian <email@example.com> 2008, e_k <firstname.lastname@example.org> License: LGPL-2+ Files: pyqt/cmake/* Copyright: 2012, Luca Beltrame <email@example.com> 2012, Rolf Eike Beer <firstname.lastname@example.org> 2007-2014, Simon Edwards <email@example.com> License: BSD-3-clause Files: cmake/FindUtf8Proc.cmake Copyright: 2009-2011, Kitware, Inc 2009-2011, Philip Lowman <firstname.lastname@example.org> License: BSD-3-clause Files: pyqt/cmake/PythonCompile.py License: public-domain
The only runtime dependency is qtbase ≥ 5.12.0. Build dependencies are as follows:
- CMake ≥ 3.1.0 serves as the build system and therefore needs to be present to compile.
- The latest lxqt-build-tools is also needed for compilation.
- Git is needed to optionally pull latest VCS checkouts.
Code configuration is handled by CMake. CMake variable
CMAKE_INSTALL_PREFIX will normally have to be set to
/usr, depending on the way library paths are dealt with on 64bit systems. Variables like
CMAKE_INSTALL_LIBDIR may have to be set as well.
To build, run
make. To install, run
make install which accepts variable
DESTDIR as usual.
To build PyQt bindings, specify an additional CMake option
QTERMWIDGET_BUILD_PYTHON_BINDING=ON when building this library.
The library is provided by all major Linux distributions. This includes Arch Linux, Debian, Fedora, openSUSE and all of their children, given they use the same package repositories.
Just use the distributions' package managers to search for string
Translations can be done in LXQt-Weblate