Introduction to qtermwidget

As the name suggests, the qtermwidget is a terminal widget for Qt.

This package is known to build and work properly using an LFS-7.9 platform.

Package Information

qtermwidget Dependencies


CMake-3.4.3 and Qt-5.5.1 or Qt-4.8.7

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/qtermwidget

Installation of qtermwidget

If you have Qt4 and Qt5 installed, run source setqt4 or source setqt5, respectively, in order to link qtermwidget to the one of your choice. Following instructions are for Qt5 linking. For compilation with Qt4, see “Command Explanations”, below. Install qtermwidget by running the following commands:

mkdir -v build &&
cd       build &&

cmake -DCMAKE_BUILD_TYPE=Release  \
      -DUSE_QT5=true              \
      ..       &&


The choice of /usr for prefix is due to the general characteristics of this program, which can be used without LXQt.

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

-DBUILD_DESIGNER_PLUGIN=0: This switch is necessary, because building the Qt designer plugin is not supported for Qt5 yet. Toggle to 1 or remove, if you prefer to use Qt4.

-DUSE_QT5=true: This switch is used in order to build this application linked to Qt5. Toggle to “false”, if you prefer to use Qt4.


Installed Program: None
Installed Libraries: libqtermwidget5.so or libqtermwidget4.so and /usr/lib/qt4/plugins/designer/libqtermwidget4plugin.so
Installed Directories: /usr/{include,share{/cmake,}}/qtermwidget5 or /usr/{include,share{/cmake,}}/qtermwidget4

Short Descriptions


contains the libqtermwidget5 API functions.


contains the libqtermwidget4 API functions.


contains the qtermwidget Qt4 designer plugin.

Last updated on 2016-03-05 10:01:52 -0800