Install libpythonqt-qtall-qt5-python3-3 by entering the following commands in the terminal:
sudo apt update sudo apt install libpythonqt-qtall-qt5-python3-3
Dynamic Python binding for the Qt framework - runtime
PythonQt offers an easy way to embed the Python scripting language into a C++ Qt applications. It makes heavy use of the QMetaObject system and requires Qt 5.x. The focus of PythonQt is on embedding Python into an existing C++ application, not on writing the whole application completely in Python. If you want to write your whole application in Python, you should use PyQt or PySide instead. If you are looking for a simple way to embed Python objects into your C++/Qt Application and to script parts of your application via Python, PythonQt is the way to go! . This package contains the extension PythonQt_QtAll, enabling usage of Qt classes from the embedded Python 3 code.