Is it possible to spawn a shell (cmd on Windows and terminal on UNIX systems) into a QWidget?
-
wrote on 17 Jun 2019, 20:39 last edited by
I would really like to have a terminal widget that'd either be cross platform or have it so I could determine if I want to spawn a cmd on windows or a terminal on UNIX systems into a QWidget.
I found a GitHub project called qtermwidget but since my project is written in PyQt5, I have no idea how to use it. I saw that there were some python bindings but idk what to do with them.
Any help is appreciated!
-
Hi,
You can use Riverbank's sip to create python bindings for your custom widget.
-
wrote on 18 Jun 2019, 13:56 last edited by
It already has python bindings but I just don't know how to use them or find documentation on how to use it
https://github.com/lxqt/qtermwidget/blob/master/pyqt/sip/qtermwidget.sip
-
It already has python bindings but I just don't know how to use them or find documentation on how to use it
https://github.com/lxqt/qtermwidget/blob/master/pyqt/sip/qtermwidget.sip
wrote on 18 Jun 2019, 17:07 last edited by@Fuchsiaff and what about KDE's Konsole?
-
It already has python bindings but I just don't know how to use them or find documentation on how to use it
https://github.com/lxqt/qtermwidget/blob/master/pyqt/sip/qtermwidget.sip
@Fuchsiaff said in Is it possible to spawn a shell (cmd on Windows and terminal on UNIX systems) into a QWidget?:
I just don't know how to use them or find documentation on how to use it
Did you read https://github.com/lxqt/qtermwidget/blob/master/README.md ?
Also there are examples.
1/5