Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Python and C++
Alfie Anil last edited by
Would it be possible to use python and c++ together in the same project? Python and C++ would have to communicate, as it c++ would have to be able to 'store' returns from the python.
Thanks in advance
JonB last edited by JonB
Yes, if you wish, you can have either way (C++ calling Python or Python calling C++). IIRC, it's probably easier to have the main program written in C++ which embeds Python than the other way round.
Python-level reading material:
If plain non-Qt Python is not a good fit, you may want a Qt-aware Python library like PyQt5. I'm not sure, but there may be specific references for that under PyQt5 (or even PySide2; don't forget that choosing PyQt5 changes your licensing requirements).