[PyQt] Segfault with QRawFont

2012-10-19 Thread Kovid Goyal
Hi Phil, The following snippet causes a segfault: python -c "from PyQt4.Qt import *; app = QApplication([]); f = QRawFont.fromFont(QFont('Arial')); print f.familyName(); print 1" However, if I explicitly delete the QRawFont first, the segfault goes away: python -c "from PyQt4.Qt import *; app

Re: [PyQt] Platforms directive or tags, or both?

2012-10-19 Thread Jens Thoms Toerring
i Phil, On Fri, Oct 19, 2012 at 09:19:13AM +0100, Phil Thompson wrote: > >> On my Mac (Py 2.7.1), I did this: > >> > >> import ctypes > >> ctypes.c_size_t == ctypes.c_ulong > >> # returns True > >> ctypes.c_size_t == ctypes.c_uint > >> # returns False > >> > >> So it looks like a variation on yo

Re: [PyQt] Platforms directive or tags, or both?

2012-10-19 Thread Phil Thompson
On Thu, 18 Oct 2012 23:16:37 +0200, Jens Thoms Toerring wrote: > Hi Larry, > > On Thu, Oct 18, 2012 at 02:45:30PM -0600, Larry Shaffer wrote: >> Interesting approach. Thank you for sharing. Since the QGIS project >> has a minimum requirement of Python 2.3 (2.5+ recommended), I think >> maybe the

Re: [PyQt] Platforms directive or tags, or both?

2012-10-19 Thread Phil Thompson
On Thu, 18 Oct 2012 15:09:48 -0600, Larry Shaffer wrote: > On Thu, Oct 18, 2012 at 2:57 PM, Phil Thompson > wrote: >> On Thu, 18 Oct 2012 11:58:59 -0600, Larry Shaffer >> >> wrote: > -8<-- > Also, I would either like to know what the other platforms' (Win, > Linux, et