Embed PyQt in C++/C
Unsolved
Qt for Python
-
wrote on 29 Oct 2018, 23:26 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, QTextEditHow do I make sure these PyQt5 objects are there inside C/C++ when I embed?
Any help much appreciated. Thanks! -
wrote on 3 Jan 2019, 17:49 last edited by
Have a look at PythonQT