QBash embeds a Bash shell inside a Qt widget.
The terminal emulation is provided by Pyte.
The bin/demo.py script features an example of how to embed QBash into Qt programs.
QBash depends on Pyte, PyQt4 and Python 3.x.
On Debian based systems like (K)Ubuntu, the necessary dependencies can be installed with
sudo apt-get install git python3-pyqt4 python3-pip
sudo pip3 install pyte
Use the following commands to run the demo:
git clone https://github.com/olitheolix/qbash.git
cd qbash/bin
python3 demo.py
QBash is licensed under the terms of the GPL.