QTermWidget
Overview
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 protected]>
2010, KDE e.V <[email protected]>
2002-2007, Oswald Buddenhagen <[email protected]>
2006-2008, Robert Knight <[email protected]>
2002, Waldo Bastian <[email protected]>
2008, e_k <[email protected]>
License: LGPL-2+
Files: pyqt/cmake/*
Copyright: 2012, Luca Beltrame <[email protected]>
2012, Rolf Eike Beer <[email protected]>
2007-2014, Simon Edwards <[email protected]>
License: BSD-3-clause
Files: cmake/FindUtf8Proc.cmake
Copyright: 2009-2011, Kitware, Inc
2009-2011, Philip Lowman <[email protected]>
License: BSD-3-clause
Files: pyqt/cmake/PythonCompile.py
License: public-domain
Installation
Compiling sources
The only runtime dependency is qtbase ≥ 5.7.1. In order to build CMake ≥ 3.0.2 and lxqt-build-tools >= 0.4.0 are needed as well as Git to pull translations and optionally 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 make install
which accepts variable DESTDIR
as usual.
Binary packages
The library is provided by all major Linux distributions like Arch Linux, Debian, Fedora and openSUSE.
Just use the distributions' package managers to search for string qtermwidget
.