[PyQt] Using PyQt5 and C++ Qt Widgets in one GUI Window

Alexander Rössler alexander at roessler.systems
Thu Mar 15 14:40:12 GMT 2018


Yes, you have to use SIP:
https://wiki.python.org/moin/PyQt/MiniSipExample


Christian Schulze writes:

> Hi,
>
> Is it possible to write applications (Python or C++) which use the standard PyQt widgets and custom widgets written in C++ in one GUI window?
>
>
> I had expected that it is possible to write Python wrappers for the C++ widgets and integrate the widgets into the pyqt-MainWindow. I couldn't find examples for this.
>
> The other solution to use PyQt to write a widget and import it to C++ using boost::python would also be fine. Are there examples for this?
>
>
> Best Regards,
> Christian
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt


-- 
Alexander Rössler
HMI Expert at Rössler Systems
Tel: +43 680 1348338
Web: https://roessler.systems
Blog: https://machinekoder.com
alexander at roessler.systems
Lebnergasse 1/7/7
1210 Wien - Austria
ATU72251528


More information about the PyQt mailing list