QPluginLoader with PyQt modules as plugins: possible?
- by Thorfin
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!