[PyQt] Custom widgets in Qt5

Phil Thompson phil at riverbankcomputing.com
Wed Jun 5 22:13:03 BST 2013


On Tue, 04 Jun 2013 12:24:26 +0200, Vincent Vande Vyvre
<vincent.vandevyvre at swing.be> wrote:
> Hi,
> 
> With PyQt4 I have this folder:
> /usr/lib/x86_64-linux-gnu/qt4/plugins/designer/
> wich content the lib libpythonplugin.so and a subfolder python for my 
> custom widgets.
> 
> Now, I've just installed Qt5 and the latest snapshots of SIP and PyQt5 
> and I'm looking whee can I copy my own widgets.
> I've found a folder:
> /usr/lib/Qt5.0.2/5.0.2/gcc_64/plugins/designer
> but without the lib libpythonplugin.so, I presume this lib is needed for

> the widgets written in Python.
> 
> So, it's an other place for theses plugins or it's not already supported

> in PyQt5 ?

In PyQt5 the plugin is called libpyqt5.so. Which directory it goes in
depends on how your Qt5 installation is configured.

Phil


More information about the PyQt mailing list