QPluginLoader with PyQt modules as plugins: possible?
Posted
by Thorfin
on Stack Overflow
See other posts from Stack Overflow
or by Thorfin
Published on 2010-04-22T14:33:50Z
Indexed on
2010/04/27
12:33 UTC
Read the original article
Hit count: 441
Hi!
I have a C++ application that loads externals plugins thanks to QPluginloader
.
QPluginLoader
provides access to a Qt plugin. A Qt plugin is stored in a shared library (a DLL).
The plugins have to inherit from a pure virtual class ( and Q_DECLARE_INTERFACE
) and QObject
.
I would like to create plugins by using python and PyQt
.
Is this possible without too much work?
For instance if I have to convert the modules to C++ with boost::python
, this could be nonsense, as PyQt
is already a conversion from C++ to Python...
Thanks!
© Stack Overflow or respective owner