fork from https://github.com/roozbehg/QPyConsole
- Qt 5.12 ( QTCore + QTWidgets)
- Python 3.9 + Dev and Libs ( need headers (.h) and libraries (.so/.a) )
- 建立 cs 分支
- 2021-10-09 添加 statusbar
This simple project demonstrates the embedding of python interpreter into C++/QT application.
Using pybind11 or PythonQt to create Python bindings to existing C++ code.
- Qt 5.15.1 ( QTCore + QTWidgets)
- Python 3.8 + Dev and Libs ( need headers (.h) and libraries (.so/.a) )
- Make sure Python is installed in your computer.
- Open "QPyConsole.pro" and make sure link to python folder and it's libraries are correct (i.e. modify "/Python/Python38-32/" and "libs -lpython38" )
- Open QtCreator then open "QPyConsole.pro" fiela nd build the project.