Embed PyQt in C++/C
vyau last edited by
Hi, I have written a PyQT application in PyQt5. I now need to embed that in a C/C++ application. I see how to embed Python in C/C++ but I do not know how I can make sure the PyQt5 widgets are also available when run inside a C/C++.
Some of the PyQt5 widgets I have used:
from PyQt5.QtWidgets import QApplication, QFrame, QGridLayout, QHBoxLayout, QPushButton, QSizePolicy, QSpacerItem,QToolButton, QVBoxLayout, QWidget, QTextEdit
How do I make sure these PyQt5 objects are there inside C/C++ when I embed?
Any help much appreciated. Thanks!
loopless last edited by
Have a look at PythonQT