[PyQt] Custom widgets in Qt5

Vincent Vande Vyvre vincent.vandevyvre at swing.be
Tue Jun 18 07:15:44 BST 2013


Le 06/06/2013 12:52, Vincent Vande Vyvre a écrit :
> Le 05/06/2013 23:13, Phil Thompson a écrit :
>> In PyQt5 the plugin is called libpyqt5.so. Which directory it goes in 
>> depends on how your Qt5 installation is configured. Phil 
> I don't know why but the Makefile was not created in 
> .../PyQt-gpl-5.0-snapshot-cdc78cf84e0d/designer/
>
> So, I've re-run the configure.py and the make and make install only 
> for the designer.
>
> Now the lib libpyqt5.so is in 
> /usr/lib/Qt5.0.2/5.0.2/gcc_64/plugins/designer/ but the Designer crash 
> at launching with any of my custom widgets and also with the 
> geolocationwidget example provided here:
> http://doc.qt.digia.com/qq/qq26-pyqtdesigner.html
>
> I've tried all my widgets separately, this is the feedback of the command
> ------------------------------------------------------------------------
> vincent at djoliba:~$ /usr/lib/Qt5.0.2/5.0.2/gcc_64/bin/designer
> QMetaType::registerType: Binary compatibility break -- Size mismatch 
> for type 'QPaintBufferCacheEntry' [1024]. Previously registered size 
> 16, now registering size 0.
> Abandon (core dumped)
> ------------------------------------------------------------------------
> ...
>
>

Same problem with the latest release, the Designer crash at launching 
with any custom widget.

Vincent

-- 
Vincent V.V.
Oqapy <https://launchpad.net/oqapy> . Qarte 
<https://launchpad.net/qarte> . PaQager <https://launchpad.net/paqager>


More information about the PyQt mailing list