[PyQt] ANN: SIP v4.15.1 Released
Phil Thompson
phil at riverbankcomputing.com
Tue Nov 19 15:34:11 GMT 2013
On Tue, 19 Nov 2013 15:52:01 +0100, Hans-Peter Jansen <hpj at urpla.net>
wrote:
> Dear Phil,
>
> On Samstag, 24. August 2013 22:30:16 Hans-Peter Jansen wrote:
>> On Freitag, 23. August 2013 18:44:38 Phil Thompson wrote:
>> > SIP v4.15.1 has been released. This fixes a regression in v4.15
>> > related to
>> > the handling of hidden virtual methods. PyQt is unaffected.
>>
>> Well, but PyQt3 is:
>>
>> [ 121s] g++ -c -pipe -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
>> -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g
>> -DUSE_LIB64_PATHES -fno-strict-aliasing -fPIC -fmessage-length=0 -O2
>> -Wall
>> -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
>> -fasynchronous-unwind-tables -g -DUSE_LIB64_PATHES -fno-strict-aliasing
>> -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I.
>> -I/usr/include/ -I/usr/include/python2.7 -I/usr/lib/qt3/mkspecs/default
>> -I/usr/lib/qt3/include -I/usr/X11R6/include -o sipqtQLayout.o
>> sipqtQLayout.cpp [ 121s] qt/sipqtQLayout.cpp: In function 'void*
>> init_QLayout(sipSimpleWrapper*, PyObject*, PyObject*, PyObject**,
>> PyObject**, PyObject**)': [ 121s] qt/sipqtQLayout.cpp:1801:48: error:
>> cannot allocate an object of abstract type 'sipQLayout' [ 121s]
>> qt/sipqtQLayout.cpp:105:7: note: because the following virtual
>> functions
>> are pure within 'sipQLayout': [ 121s] In file included from
>> /usr/lib/qt3/include/qabstractlayout.h:50:0, [ 121s]
>> from
>> sip/qt/qlayout.sip:274:
>> [ 121s] /usr/lib/qt3/include/qlayout.h:234:10: note: virtual void
>> QLayout::setGeometry(const QRect&) [ 121s]
>> /usr/lib/qt3/include/qlayout.h:235:21: note: virtual QLayoutIterator
>> QLayout::iterator() [ 121s] /usr/lib/qt3/include/qlayout.h:234:10:
note:
>> virtual void QLayout::setGeometry(const QRect&) [ 121s]
>> /usr/lib/qt3/include/qlayout.h:235:21: note: virtual QLayoutIterator
>> QLayout::iterator() [ 121s] qt/sipqtQLayout.cpp:1816:45: error: cannot
>> allocate an object of abstract type 'sipQLayout' [ 121s]
>> qt/sipqtQLayout.cpp:105:7: note: since type 'sipQLayout' has pure
>> virtual
>> functions [ 121s] qt/sipqtQLayout.cpp:1830:42: error: cannot allocate
an
>> object of abstract type 'sipQLayout' [ 121s]
qt/sipqtQLayout.cpp:105:7:
>> note: since type 'sipQLayout' has pure virtual functions [ 122s]
>> make[1]: *** [sipqtQLayout.o] Error 1
>> [ 122s] make[1]: *** Waiting for unfinished jobs....
>> [ 122s] make[1]: Leaving directory
>> `/home/abuild/rpmbuild/BUILD/PyQt-x11-gpl-3.18.1/qt' [ 122s] make: ***
>> [all] Error 2
>> [ 122s] error: Bad exit status from /var/tmp/rpm-tmp.chPlXv (%build)
>>
>>
>> https://build.opensuse.org/package/show/home:frispete:PyQt/python-qt3
>>
>>
>> I know, old unsupported stuff, but this is still in heavy use all over
>> the world ;-)
>
> Could you give me a hint, how to handle the virtual functions within the
> new
> sip, please? I will try to cook up a patch then.
It's probably missing reimplementations in the .sip files.
Phil
More information about the PyQt
mailing list