[PyQt] QSpacerItem causes seg fault

Matt Smith melkor at orangepalantir.org
Sat Mar 7 23:08:37 GMT 2009


while using:

	PyQt-x11-gpl-4.5-snapshot-20090304

on:
	Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) 
	[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2

If I don't keep a persistent reference to a spacer Item I get a
segfault. This is a new event since upgrading from 4.4 to 4.5.  I've
attached the code, and one thing that is peculiar is that I just need
'a' reference to a spacer item.

so should I keep a reference to spacer items?

mbs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spacer_test.py
Type: text/x-python
Size: 1253 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090307/e1f1f0de/spacer_test.py


More information about the PyQt mailing list