[PyQt] Custom widgets in Qt5

Phil Thompson phil at riverbankcomputing.com
Tue Jun 18 09:10:49 BST 2013


On Tue, 18 Jun 2013 08:15:44 +0200, Vincent Vande Vyvre
<vincent.vandevyvre at swing.be> wrote:
> 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

Mine work fine for me, without (as far as I can remember) needing any
changes. Sounds like you might have a Qt build problem.

Phil


More information about the PyQt mailing list