Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Qt and PyQt hybrid application [closed]

I have a C++ application using Qt for the UI and I'm currently implementing python bindings so that the application is more scriptable for its users. I also want people to be able to write their own custom widgets in PyQt, and have access to the core functionality via the boost::python bindings.

To do this, I want to allow signals to be connected from either the PyQt widgets to the Qt widgets, or vice versa, so I need to parent the PyQt to the Qt in some way. I've heard that it can be done, but after a bit of searching can't find any examples.

Does anyone have any references for this kind of thing?

like image 973
FlamFace Avatar asked Aug 19 '14 10:08

FlamFace


1 Answers

Here is a tutorial that discusses it. Another can be found here. Also, I am guessing that most of it can be crossed over via the numerous ways to interface python and C/C++ files.

like image 127
user3724292 Avatar answered Oct 22 '22 11:10

user3724292