[PyQt] PyQT5 : Using QPluginLoader to import a QT C++ plugin

Robert MARUT rmarut at orange.fr
Thu Apr 2 15:12:18 BST 2020


I try to import a QT C++ plugin into Python using PyQT5.

The plugin works fine when using QT C++ QPluginLoader because I can cast the
QObject with qobject_cast : ope_int = qobject_cast<Interface *>(plugin);

The plugin is loaded when using PyQT5 but how can I use the functions inside
the plugin with PyQT5 ?




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200402/0e4568af/attachment.htm>

More information about the PyQt mailing list